Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
filipdjokic committed Dec 10, 2024
1 parent 347c8cb commit ae5ebfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ def setup_journal_logging(self) -> bool:
logging.info("Configuring journald configuration for logging")

# Modify journald template file with values specific to the installation
with open(DEFAULT_JOURNAL_CONFIG_FILE, "w") as fname:
with open(DEFAULT_JOURNAL_CONFIG_FILE, "w"):
if is_valid_url(JOURNAL_TEMPLATE):
with request.urlopen(JOURNAL_TEMPLATE) as response, open(DEFAULT_JOURNAL_CONFIG_FILE, "w") as file:
file.write(response.read().decode("utf-8").strip())
Expand Down

0 comments on commit ae5ebfa

Please sign in to comment.