This website works better with JavaScript.
Home
Explore
Help
Sign In
yigitcolakoglu
/
MyCity
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Merge remote-tracking branch 'origin/efe'
pull/2/head
Yiğit Çolakoğlu
6 years ago
parent
be62572fb4
c4b83694b7
commit
2303dfb8a7
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
server_side/api/voting_system/app.py
+ 1
- 1
server_side/api/voting_system/app.py
View File
@ -32,7 +32,7 @@ class Votings(Resource):
def
post
(
self
)
:
args
=
parser
.
parse_args
(
)
voting_id
=
max
(
len
(
votings
)
)
+
1
voting_id
=
len
(
votings
)
+
1
voting
=
{
'
id
'
:
voting_id
,
'
name
'
:
args
[
'
name
'
]
,
Write
Preview
Loading…
Cancel
Save