Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CipMap
CipMap
Commits
30537fb5
Commit
30537fb5
authored
Oct 11, 2019
by
Tom Kunze
Browse files
server: Remove buero coordinates.
Coordinates of buero are managed by CIP administrators.
parent
90db065d
Changes
1
Hide whitespace changes
Inline
Side-by-side
django/server/views.py
View file @
30537fb5
...
...
@@ -444,44 +444,6 @@ def map(request):
map_file
=
open
(
settings
.
MAP_PATH
).
read
()
map_json
=
json
.
loads
(
map_file
)
map_json
[
'buero'
]
=
{
'computer'
:
[
{
'x'
:
0
,
'y'
:
0
,
'id'
:
'faui03a'
,
},
{
'x'
:
2
,
'y'
:
2
,
'id'
:
'faui03e'
,
},
{
'x'
:
1
,
'y'
:
2
,
'id'
:
'faui03f'
,
},
{
'x'
:
2
,
'y'
:
0
,
'id'
:
'faui03l'
,
},
{
'x'
:
1
,
'y'
:
0
,
'id'
:
'faui03m'
,
},
{
'x'
:
0
,
'y'
:
2
,
'id'
:
'faui03n'
,
}
],
'door'
:
{
'position'
:
0
,
'offset'
:
1
,
}
}
map_json
[
'fsi'
]
=
{
'computer'
:
[
{
# FSI Inf
...
...
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