1
0
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:
Elias Steurer 2021-05-16 14:10:37 +02:00
parent 5164a7b916
commit 71c422cbca

View File

@ -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!")