set default batch file to .batchfile

This commit is contained in:
Robert Kaussow 2019-12-02 10:01:21 +01:00
parent c03e8b860f
commit 23f1a386ef

View File

@ -34,7 +34,7 @@ class GitBatch:
def _config(self): def _config(self):
config = defaultdict(dict) config = defaultdict(dict)
input_file_raw = os.environ.get("GIT_BATCH_INPUT_FILE", "./batchfile") input_file_raw = os.environ.get("GIT_BATCH_INPUT_FILE", ".batchfile")
config["input_file"] = normalize_path(input_file_raw) config["input_file"] = normalize_path(input_file_raw)
config["ignore_existing"] = to_bool(os.environ.get("GIT_BATCH_IGNORE_EXISTING_REPO", True)) config["ignore_existing"] = to_bool(os.environ.get("GIT_BATCH_IGNORE_EXISTING_REPO", True))