This website works better with JavaScript.
Начало
Каталог
Помощ
Вход
sindre
/
Beelance
Наблюдаван
1
Харесван
0
Разклонения
0
Код
Задачи
6
Заявки за сливане
0
Версии
0
Уики
Activity
Преглед на файлове
Merge branch 'master' of
https://gitlab.stud.idi.ntnu.no/tdt4237-2020/larepo
https
jakobsn
преди 5 години
родител
978b6a75ba
2ef59fd840
ревизия
f55a9e50ef
променени са
2 файла
, в които са
добавени 1
реда и са
изтрити 2
реда
Разделен изглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/app/models/project.py
+0
-1
src/app/models/user.py
+ 1
- 1
src/app/models/project.py
Целия файл
@@ -277,7 +277,7 @@ def update_task_status(taskid, status):
try:
cursor.execute(query)
db.commit()
except:
except
mysql.connector.Error as err
:
print("Failed executing query: {}".format(err))
cursor.fetchall()
exit(1)
+ 0
- 1
src/app/models/user.py
Целия файл
@@ -69,7 +69,6 @@ def get_user_name_by_id(userid):
finally:
cursor.close()
db.close()
cursor.close()
return username
def match_user(username, password):
Write
Preview
Loading…
Отказ
Запис