X-Git-Url: https://git.yukkurigames.com/?p=mlpccg-meta.git;a=blobdiff_plain;f=mlpccg%2FCardDb.py;fp=mlpccg%2FCardDb.py;h=fdfbb0a5541889ced564f26183e5fad747249a0b;hp=043bc92ec68d2d3cc6b0610d0f8e2e311fd68208;hb=0f08a0d1ebcd8d825a7df448221a7eb23600bba5;hpb=5d20db255bfeff5d47c0a7fd9aef9839f57f6d77 diff --git a/mlpccg/CardDb.py b/mlpccg/CardDb.py index 043bc92..fdfbb0a 100644 --- a/mlpccg/CardDb.py +++ b/mlpccg/CardDb.py @@ -2,6 +2,7 @@ import json import os import urllib import logging +import time class CardDb: set_ids = { @@ -14,7 +15,7 @@ class CardDb: set_names = {} # generated - def __init__(self, json_path='cards.json', extra_path='cards_extra.json'): + def __init__(self, json_path='data/cards.json', extra_path='data/cards_extra.json'): logging.debug('init card database') for name, id in CardDb.set_ids.iteritems():