windows compatible

This commit is contained in:
Isko 2015-03-23 00:50:42 +02:00
parent 1fe7d4fd45
commit c186602c63

View file

@ -6,6 +6,7 @@ warnings.filterwarnings("ignore")
# load config from a JSON file (or anything outputting a python dictionary) # load config from a JSON file (or anything outputting a python dictionary)
with open("dejavu.cnf.SAMPLE") as f: with open("dejavu.cnf.SAMPLE") as f:
config = json.load(f) config = json.load(f)
if __name__ == '__main__':
# create a Dejavu instance # create a Dejavu instance
djv = Dejavu(config) djv = Dejavu(config)