ffnord / ffmap-backend

THIS PROJECT DOESN'T HAVE A MAINTAINER!
Other
20 stars 59 forks source link

Survive empty or otherwise non-readable nodes.json #82

Closed smoe closed 6 years ago

smoe commented 8 years ago

We ran into a disk full situation while the nodes.json was just about to be recreated. This left nodes.json empty. backend.py could not cope with that situation and cause the script to end prematurely. This change helps to almost always show a current map.

tcatm commented 8 years ago

Die CI meckert, dass es nach dem , ein Leerzeichen erwartet: https://travis-ci.org/ffnord/ffmap-backend/builds/117940253#L145

Wenn das behoben ist, kann ich das mergen :)