소스 검색

Backtrack to not being fked

https
jakobsn 6 년 전
부모
커밋
f6383ca6f5
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +5
    -1
      src/app/views/project.py

+ 5
- 1
src/app/views/project.py 파일 보기

@@ -51,7 +51,11 @@ class Project:
print(data)
# Test if the file was uploaded
if fileitem.filename:
if not permissions[1]:
task_waiting = False
for task in tasks:
if task[0] == data.taskid and (task[6] == "waiting for delivery" or task[6] == "declined"):
task_waiting = True
if not permissions[1] and task_waiting:
print("Permission denied")
raise web.seeother(('/project?projectid=' + data.projectid))



불러오는 중...
취소
저장