Small fixes
This commit is contained in:
@@ -141,9 +141,10 @@ def delete_project(project_id, conn):
|
||||
cursor.execute(query, (project_id,))
|
||||
if cursor.rowcount != 1:
|
||||
logging.error('DELETE FAILED')
|
||||
print('could not find current project')
|
||||
else:
|
||||
print('deleted project {}: {}'.format(project_id, 'project_name'))
|
||||
print('could not find project {}'.format(project_id))
|
||||
|
||||
print('deleted project {}: {}'.format(project_id, 'project_name'))
|
||||
# TODO Cascade deleting
|
||||
|
||||
def list_project(active_project_id, conn):
|
||||
query = """
|
||||
|
||||
Reference in New Issue
Block a user