diff --git a/bat2nodes.py b/bat2nodes.py index 0b24971..e85ff29 100755 --- a/bat2nodes.py +++ b/bat2nodes.py @@ -64,6 +64,6 @@ rrd.update_images() m = D3MapBuilder(db) -nodes_json = open(options['destination_directory'] + '/nodes.json.new','w') +nodes_json = open(options['destination_directory'] + '/nodes.json','w') nodes_json.write(m.build()) nodes_json.close() diff --git a/mkmap.sh b/mkmap.sh index 2095f4e..207fc61 100755 --- a/mkmap.sh +++ b/mkmap.sh @@ -11,6 +11,3 @@ DEST=$1 "$(dirname "$0")"/ffhlwiki.py http://freifunk.metameute.de/wiki/Moelln:Knoten > "$(dirname "$0")"/aliases_moelln.json "$(dirname "$0")"/bat2nodes.py -a "$(dirname "$0")"/aliases.json -a aliases_hl.json -a aliases_moelln.json -d $DEST $GWS - - -mv $DEST/nodes.json.new $DEST/nodes.json -