Lazy commit on <function hostname at 0x758fc69b6160>.

This commit is contained in:
James Downie 2025-06-05 22:10:23 +10:00
parent dbf72a6a2a
commit 6eb098891d

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: