Skip to content

Commit

Permalink
Merge pull request #23 from SEKOIA-IO/fix_missing_xtended_conf
Browse files Browse the repository at this point in the history
fix missing xtended conf
  • Loading branch information
penhouetp authored Apr 12, 2024
2 parents deed81d + cee0575 commit 6134034
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions generate_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
i=i+1

# Check additional conf
for file in os.listdir("/extended_conf/"):
if file.endswith(".conf"):
print("Detected an additonal intake defined in file {}".format(file))
XTENDED_CONF="/extended_conf/"
if os.path.exists(XTENDED_CONF):
for file in os.listdir(XTENDED_CONF):
if file.endswith(".conf"):
print("Detected an additonal intake defined in file {}".format(file))

0 comments on commit 6134034

Please sign in to comment.