Commit 9150346b authored by marius david's avatar marius david
Browse files

clean up test entries

parent 02f5552c
Loading
Loading
Loading
Loading

entries/.keep

0 → 100644
+0 −0

Empty file added.

entries/factorio_cog.json

deleted100644 → 0
+0 −55
Original line number Diff line number Diff line
{
	"id": 8378322440,
	"name": "Factorio Cog",
	"description": "Some testing...",
	"links": {
		"lemmy": [
			"!test@lemmy.mariusdavid.fr"
		],
		"matrix": [
			"#canvas-general:aftermath.gg"
		]
	},
	"path": {
		"0": [
			[
				542,
				367
			],
			[
				554,
				371
			],
			[
				570,
				369
			],
			[
				581,
				357
			],
			[
				571,
				341
			],
			[
				555,
				338
			],
			[
				544,
				341
			],
			[
				534,
				354
			]
		]
	},
	"center": {
		"0": [
			556,
			354
		]
	}
}
 No newline at end of file

entries/some_test.json

deleted100644 → 0
+0 −214
Original line number Diff line number Diff line
{
    "id": 6827443089,
    "name": "Some test",
    "description": "Look! It\u2019s the fan favorite Rainbow Dash",
    "links": {
        "website": [
            "https://mlp.fandom.com/fr/wiki/Rainbow_Dash"
        ],
        "discord": [
            "20percentcooler"
        ],
        "subreddit": [
            "lol"
        ]
    },
    "path": {
        "0": [
            [
                570,
                385
            ],
            [
                570,
                378
            ],
            [
                566,
                380
            ],
            [
                564,
                374
            ],
            [
                569,
                369
            ],
            [
                577,
                368
            ],
            [
                583,
                374
            ],
            [
                586,
                374
            ],
            [
                587,
                375
            ],
            [
                603,
                358
            ],
            [
                604,
                361
            ],
            [
                602,
                363
            ],
            [
                617,
                370
            ],
            [
                607,
                381
            ],
            [
                591,
                372
            ],
            [
                586,
                377
            ],
            [
                586,
                381
            ],
            [
                584,
                382
            ],
            [
                588,
                383
            ],
            [
                589,
                376
            ],
            [
                593,
                381
            ],
            [
                593,
                384
            ],
            [
                599,
                385
            ],
            [
                606,
                388
            ],
            [
                610,
                387
            ],
            [
                615,
                378
            ],
            [
                617,
                373
            ],
            [
                623,
                382
            ],
            [
                622,
                389
            ],
            [
                615,
                398
            ],
            [
                610,
                398
            ],
            [
                597,
                390
            ],
            [
                593,
                390
            ],
            [
                594,
                393
            ],
            [
                598,
                394
            ],
            [
                600,
                399
            ],
            [
                599,
                400
            ],
            [
                594,
                395
            ],
            [
                591,
                397
            ],
            [
                587,
                398
            ],
            [
                583,
                402
            ],
            [
                582,
                402
            ],
            [
                578,
                399
            ],
            [
                578,
                393
            ],
            [
                577,
                392
            ],
            [
                577,
                389
            ],
            [
                573,
                388
            ]
        ]
    },
    "center": {
        "0": [
            585,
            390
        ]
    }
}
 No newline at end of file
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ def load_data(self):
		self.id_to_name = {}
		self.combined_source_list = {}
		for filename in os.listdir(self.folder):
			if filename == ".keep":
				continue
			path = os.path.join(self.folder, filename)
			entry = None
			with open(path, "r") as f: