Commit 449eeea1 authored by Tony's avatar Tony
Browse files

Fixing reading map

parent 687d7e5c
......@@ -521,8 +521,7 @@ if __name__ == '__main__':
mapQuery = list(map.find())
if (not mapQuery): # if map Database still empty
if (map.count() == 0): # if map Database still empty
for i in range (0,nMap):
mapFile = "map_" + str(i) + ".json"
with open(mapFile) as json_file:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment