mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 00:50:40 +00:00
Codestyle enhancements
This commit is contained in:
@ -69,8 +69,7 @@ def register():
|
||||
os.makedirs(user.path)
|
||||
except OSError:
|
||||
current_app.logger.error(
|
||||
'Make dir {} led to an OSError!'.format(user.path)
|
||||
)
|
||||
f'Make dir {user.path} led to an OSError!')
|
||||
db.session.delete(user)
|
||||
db.session.commit()
|
||||
abort(500)
|
||||
|
Reference in New Issue
Block a user