diff --git a/python/extract.py b/python/extract.py index 2130b0a..6011394 100644 --- a/python/extract.py +++ b/python/extract.py @@ -111,7 +111,8 @@ def compute_server(filename,p): p = "/home/fordj/SOURCES/FORDJ/fordjx/hackathon-zurich/output/" + arg + "_" + now + ".ifc" create(p,lst) localpath = "/home/fordj/SOURCES/FORDJ/fordjx/hackathon-zurich/output" - write_csv(localpath,filename,lst) + fname = filename.split("/")[1] + write_csv(localpath,fname,lst) # Server if len(sys.argv) == 1: