0

Fixed bug in signpost handling code

Two of the coordinates were flipped in markers.js
Also, overviewer.dat is now removed with -d
This commit is contained in:
Andrew Chin
2010-11-06 15:27:52 -04:00
parent 0b6461083b
commit c96b3363b2
2 changed files with 8 additions and 2 deletions

View File

@@ -145,6 +145,12 @@ def delete_all(worlddir, tiledir):
logging.info("Deleting {0}".format(filepath))
os.unlink(filepath)
# delete the overviewer.dat persistant data file
datfile = os.path.join(worlddir,"overviewer.dat")
if os.path.exists(datfile):
os.unlink(datfile)
logging.info("Deleting {0}".format(datfile))
def list_worlds():
"Prints out a brief summary of saves found in the default directory"
print