Skip to content

Commit

Permalink
Cast REFRESH_INTERVAL to int
Browse files Browse the repository at this point in the history
  • Loading branch information
michizubi-SRF committed May 7, 2024
1 parent d9a2d4f commit bc6df83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runner-exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from time import sleep

# Read environment variables
REFRESH_INTERVAL = os.environ.get("REFRESH_INTERVAL", 20)
REFRESH_INTERVAL = int(os.environ.get("REFRESH_INTERVAL", 20))
PRIVATE_GITHUB_TOKEN = os.environ["PRIVATE_GITHUB_TOKEN"]
OWNER = os.environ["OWNER"]

Expand Down

0 comments on commit bc6df83

Please sign in to comment.