Fix: "" is not "null()" (sqlalchemy) or "None" (python)

pull/40/head
Konstantin Gründger 2016-02-05 07:20:58 +01:00
rodzic 0fcbd069d9
commit eb772bdc92
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -45,7 +45,7 @@ def update_receivers():
Receiver.longitude != sq.columns.longitude))) \
.update({"latitude": sq.columns.latitude,
"longitude": sq.columns.longitude,
"country_code": ""})
"country_code": null()})
logger.info("Count of receivers who changed lat or lon: {}".format(upd))
app.session.commit()