Skip to content

Commit

Permalink
added correct return value when given env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex O committed Feb 6, 2024
1 parent 73ee4c3 commit 607188b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flathunter/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def loop_period_seconds(self):

def loop_refresh_config(self):
if Env.FLATHUNTER_LOOP_REFRESH_CONFIG is not None:
return str(Env.FLATHUNTER_LOOP_REFRESH_CONFIG)
return True
return super().loop_refresh_config()

Check warning on line 467 in flathunter/config.py

View check run for this annotation

Codecov / codecov/patch

flathunter/config.py#L466-L467

Added lines #L466 - L467 were not covered by tests

def loop_pause_from(self):
Expand Down

0 comments on commit 607188b

Please sign in to comment.