Refactoring + Windows fixes
This commit is contained in:
parent
f025df92b6
commit
bd7ffe11ed
3 changed files with 61 additions and 54 deletions
|
@ -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
|
||||
|
|
Reference in a new issue