Merge pull request #40 from Meisterschueler/fix/nullvalue

ogn.collect.receiver: Replace wrong keyword, use null() instead of  "" or None
pull/41/head
Fabian P. Schmidt 2016-02-05 15:16:13 +01:00
commit ad362fcc1e
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()