mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Fix check for not set args.path
This commit is contained in:
parent
5164a7b916
commit
71c422cbca
@ -14,7 +14,7 @@ if __name__ == "__main__":
|
|||||||
project_source_parent_path = ""
|
project_source_parent_path = ""
|
||||||
|
|
||||||
project_source_path = os.path.abspath(os.path.join(os.getcwd(), "../"))
|
project_source_path = os.path.abspath(os.path.join(os.getcwd(), "../"))
|
||||||
if(args.path != ""):
|
if args.path is not None:
|
||||||
project_source_parent_path = os.path.abspath(args.path)
|
project_source_parent_path = os.path.abspath(args.path)
|
||||||
else:
|
else:
|
||||||
print("No --path provided!")
|
print("No --path provided!")
|
||||||
|
Loading…
Reference in New Issue
Block a user