Refactoring + Windows fixes

This commit is contained in:
Luke Rogers 2012-03-26 17:17:19 +13:00
parent f025df92b6
commit bd7ffe11ed
3 changed files with 61 additions and 54 deletions

View file

@ -23,7 +23,7 @@ class Recipe(object):
return self.line
with open("./plugins/data/recipes.txt") as f:
with open("plugins/data/recipes.txt") as f:
for line in f.readlines():
if line.startswith("//"):
continue
@ -38,7 +38,7 @@ with open("./plugins/data/recipes.txt") as f:
ids = []
with open("./plugins/data/itemids.txt") as f:
with open("plugins/data/itemids.txt") as f:
for line in f.readlines():
if line.startswith("//"):
continue