Skip to content

Commit 3a16dbd

Browse files
authored
Merge pull request #33 from midasvo/fix/config_loading
Proxy / API config inladen moet niet naar string gecast worden
2 parents 3a24ee5 + a6d337e commit 3a16dbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

podimo/config.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
PODIMO_HOSTNAME = str(config.get("PODIMO_HOSTNAME", "localhost:12104"))
3939
PODIMO_BIND_HOST = str(config.get("PODIMO_BIND_HOST", "127.0.0.1:12104"))
4040
PODIMO_PROTOCOL = str(config.get("PODIMO_PROTOCOL", "http"))
41-
HTTP_PROXY = str(config.get("HTTP_PROXY", None))
42-
ZENROWS_API = str(config.get("ZENROWS_API", None))
43-
SCRAPER_API = str(config.get("SCRAPER_API", None))
41+
HTTP_PROXY = config.get("HTTP_PROXY", None)
42+
ZENROWS_API = config.get("ZENROWS_API", None)
43+
SCRAPER_API = config.get("SCRAPER_API", None)
4444
CACHE_DIR = os.path.abspath(str(config.get("CACHE_DIR", "./cache")))
4545

4646
# Enable extra logging in debugging mode

0 commit comments

Comments
 (0)