bundles: code style improvements
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-02-12 20:37:36 +01:00
parent 2af911c29f
commit f52df58517
Signed by: kunsi
GPG key ID: 12E3D2136B818350
24 changed files with 80 additions and 95 deletions

View file

@ -1,8 +1,9 @@
#!/usr/bin/env python3
from flask import Flask, Response
from subprocess import check_output
from flask import Flask
app = Flask(__name__)
@app.route('/status')
@ -25,5 +26,5 @@ def statuspage():
if icinga_is_fine and postgres_is_fine:
return 'OK', 200
else:
return 'Something is wrong!', 500
return 'Something is wrong!', 500