Merge branch 'main' of ssh://gitea.downie.net.au:32222/jdownie/shed

This commit is contained in:
James Downie 2025-06-06 19:36:55 +10:00
commit 2eb314c125

View File

@ -73,7 +73,7 @@ def perform_action(action, key, item, silent = False):
if __name__ == "__main__":
yaml_file_path = os.getenv("REPO_CFG")
if not os.path.exists(yaml_file_path):
if yaml_file_path == None or not os.path.exists(yaml_file_path):
print(f"Environment variable REPO_CFG needs to point to your repo.yaml file.", file=sys.stderr)
sys.exit(1)
try: