Skip to content

Commit

Permalink
Rename mapdesc.json -> [mapname].json
Browse files Browse the repository at this point in the history
Editing lots of files with the same name is confusing.
  • Loading branch information
Francis Herne committed Nov 27, 2014
1 parent b2f62c9 commit 77ae9b8
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion worlds.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
for name in os.listdir('map'):
if not os.path.isdir(os.path.join('map', name)):
continue
descfilename = os.path.join('map', name, 'mapdesc.json')
descfilename = os.path.join('map', name, name+'.json')
try:
imfile = open(descfilename)
except:
Expand Down

0 comments on commit 77ae9b8

Please sign in to comment.