Skip to content

Commit

Permalink
Remove unassigned Exception variable
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertDisc authored Feb 17, 2024
1 parent 525d2ae commit f81b529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,9 +792,9 @@ def setting(value):
if is_docker == "True":
try:
timezone = os.environ.get('TZ')
print(f"{timezone}<<==")
if timezone is None:
print("Could not retrieve timezone information from docker 'TZ' environment variable.")
print(f"An error occured: {e}")
print("Attempting 'Docker Host'")
try:
system_tz = tzlocal.get_localzone()
Expand Down

0 comments on commit f81b529

Please sign in to comment.