This website works better with JavaScript.
Home
Explore
Help
Sign In
sindre
/
Beelance
Watch
1
Star
0
Fork
0
Code
Issues
6
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix bug getting wrong project id upon creation
https
jakobsn
6 years ago
parent
3c22dcf5e0
commit
20b6f29e1f
1 changed files
with
0 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
src/app/models/project.py
+ 0
- 1
src/app/models/project.py
View File
@@ -37,7 +37,6 @@ def set_project(categoryid, userid, project_title, project_description, project_
db.commit()
cursor.close()
users_projects = get_projects_by_owner(userid)
print("Project", users_projects)
projectid = users_projects[-1][0]
return projectid
Write
Preview
Loading…
Cancel
Save