0

Don't call save_cache if running with --skip-players

This commit is contained in:
Andrew Chin
2015-08-14 08:47:52 -04:00
parent ebc54a59ef
commit afc1c4f924

View File

@@ -513,7 +513,8 @@ def main():
logging.info("Done handling POIs") logging.info("Done handling POIs")
logging.info("Writing out javascript files") logging.info("Writing out javascript files")
PlayerDict.save_cache(destdir) if not options.skipplayers:
PlayerDict.save_cache(destdir)
with open(os.path.join(destdir, "markersDB.js"), "w") as output: with open(os.path.join(destdir, "markersDB.js"), "w") as output:
output.write("var markersDB=") output.write("var markersDB=")