commit | e890c8505a6e1cb8273a1a8592332085a146f879 | [log] [tgz] |
---|---|---|
author | okozachenko1203 <62775347+okozachenko1203@users.noreply.github.com> | Tue May 11 10:15:53 2021 +0200 |
committer | GitHub <noreply@github.com> | Tue May 11 10:15:53 2021 +0200 |
tree | 9a6cb1526899c32d9582c42372dd0660a00898a7 | |
parent | 4378bbe25bd55594d511ed4f4d338d02dd00698f [diff] |
Update app.py linting
diff --git a/staffeln/api/app.py b/staffeln/api/app.py index b12190d..9552746 100755 --- a/staffeln/api/app.py +++ b/staffeln/api/app.py
@@ -15,7 +15,7 @@ @app.route("/v1/backup", methods=["POST"]) def backup_id(): - if not "backup_id" in request.args: + if "backup_id" not in request.args: # Return error if the backup_id argument is not provided. return Response( "Error: backup_id is missing.", status=403, mimetype="text/plain"