Skip to content

Commit

Permalink
correct indention error
Browse files Browse the repository at this point in the history
  • Loading branch information
CastawayEGR committed Jun 24, 2024
1 parent 3044c90 commit 710f4af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def update_promtail_config():
for path in matching_paths:
directory, filename = path.rsplit("/", 2)[-2:]

if directory and filename:
timezone = f"{directory}/{filename}"
if directory and filename:
timezone = f"{directory}/{filename}"

with open(template_path, "r", encoding="utf8") as template_file:
template_content = template_file.read()
Expand Down

0 comments on commit 710f4af

Please sign in to comment.