From fd9026879233a21434010b741134276873dc4c74 Mon Sep 17 00:00:00 2001 From: Aaro Koivukangas Date: Mon, 6 Oct 2025 12:56:00 +0300 Subject: [PATCH] updated setup.py to not crash with empty args --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 0d7f963..71d890b 100644 --- a/setup.py +++ b/setup.py @@ -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)