Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tubessister
IF3230-Tugas-Besar-Sister-2015
Commits
449eeea1
Commit
449eeea1
authored
Apr 24, 2015
by
Tony
Browse files
Fixing reading map
parent
687d7e5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/server.py
View file @
449eeea1
...
...
@@ -521,8 +521,7 @@ if __name__ == '__main__':
#join()
# LOAD MAP
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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment