updated setup.py to not crash with empty args

This commit is contained in:
Aaro Koivukangas
2025-10-06 12:56:00 +03:00
parent 2dba19f209
commit fd90268792
+4
View File
@@ -20,6 +20,10 @@ projects = [
]
def main():
if len(sys.argv) < 2:
print("No args given. Options are \"init\" and \"sync\"")
return
for project_url in projects:
if sys.argv[1] == "init":
pull_project_from_github(project_url)