Skip to content

Commit 5fb89d6

Browse files
Update config in extractor_cli.py (#40)
The proposed change loads config information from the CONFIGURATION_FILE global, rather than always loading "config.yaml".
1 parent 366862f commit 5fb89d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Community-Supported/clouddb-extractor/extractor_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def _get_int_from_arg(this_str, arg_name, is_required=False):
125125
def main():
126126
"""Command line utility for clouddb_extractor."""
127127
# Load defaults
128-
config = yaml.safe_load(open("config.yml"))
128+
config = yaml.safe_load(open(CONFIGURATION_FILE))
129129

130130
# Define Command Line Args
131131
parser = argparse.ArgumentParser(

0 commit comments

Comments
 (0)