mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-09-19 15:59:07 +02:00
python 3 migration
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
import beerxml
|
||||
import kbh
|
||||
import restapi
|
||||
@@ -29,7 +29,7 @@ class KBH(FlaskView):
|
||||
result.append({"id": row[0], "name": row[1], "brewed": row[2]})
|
||||
return json.dumps(result)
|
||||
except Exception as e:
|
||||
print e
|
||||
print(e)
|
||||
self.api.notify(headline="Failed to load KHB database", message="ERROR", type="danger")
|
||||
return ('', 500)
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user