fix python
This commit is contained in:
parent
4cbc144016
commit
dd410d6569
1 changed files with 6 additions and 7 deletions
|
|
@ -123,13 +123,12 @@ elif len(sys.argv) > 1:
|
||||||
use_local = False
|
use_local = False
|
||||||
filename = sys.argv[1]
|
filename = sys.argv[1]
|
||||||
print(f">> filename:{filename}")
|
print(f">> filename:{filename}")
|
||||||
if os.path.exists(p):
|
if use_local:
|
||||||
if use_local:
|
p = "../ifc/" + filename + ".ifc"
|
||||||
p = "../ifc/" + filename + ".ifc"
|
compute_local(filename,p)
|
||||||
compute_local(filename,p)
|
else:
|
||||||
else:
|
p = "/home/fordj/SOURCES/FORDJ/fordjx/hackathon-zurich/ifc/" + filename + ".ifc"
|
||||||
p = "/home/fordj/SOURCES/FORDJ/fordjx/hackathon-zurich/ifc/" + filename + ".ifc"
|
compute_server(filename,p)
|
||||||
compute_server(filename,p)
|
|
||||||
else:
|
else:
|
||||||
print(os.listdir("../ifc"))
|
print(os.listdir("../ifc"))
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue