Commit 3ed83b99 authored by matt24smith's avatar matt24smith
Browse files

prevent network_graph from failing if tmp_dir doesnt exist

parent 945bc29f
Pipeline #4972 passed with stages
in 2 minutes and 21 seconds
......@@ -127,6 +127,8 @@ def serialize_network_edge(tracks,
returns: None
'''
if not os.path.isdir(tmp_dir):
os.mkdir(tmp_dir)
for track in tracks:
filepath = os.path.join(tmp_dir, str(track['mmsi']).zfill(9))
......
__version__ = "1.0.18"
__version__ = "1.0.19"
......@@ -2,6 +2,12 @@
Changelog
=========
v1.0.19
-------
prevent network_graph from failing if tmp_dir doesnt exist
v1.0.18
-------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment