Merge branch 'main' of ssh://gitea.downie.net.au:32222/jdownie/shed
This commit is contained in:
commit
2eb314c125
@ -73,7 +73,7 @@ def perform_action(action, key, item, silent = False):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
yaml_file_path = os.getenv("REPO_CFG")
|
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)
|
print(f"Environment variable REPO_CFG needs to point to your repo.yaml file.", file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user