projects
/
mlpccg-meta.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try out django
[mlpccg-meta.git]
/
mlpccg
/
CardDb.py
diff --git
a/mlpccg/CardDb.py
b/mlpccg/CardDb.py
index
043bc92
..
fdfbb0a
100644
(file)
--- a/
mlpccg/CardDb.py
+++ b/
mlpccg/CardDb.py
@@
-2,6
+2,7
@@
import json
import os
import urllib
import logging
import os
import urllib
import logging
+import time
class CardDb:
set_ids = {
class CardDb:
set_ids = {
@@
-14,7
+15,7
@@
class CardDb:
set_names = {} # generated
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():
logging.debug('init card database')
for name, id in CardDb.set_ids.iteritems():