From 8655785ee8e12151853d9b67776aa276784e071a Mon Sep 17 00:00:00 2001 From: Lexy Andati Date: Wed, 14 Jul 2021 17:25:08 +0200 Subject: [PATCH] Fix str error with no-browser mode (#39) --- bin/run-radiopadre | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run-radiopadre b/bin/run-radiopadre index a7f639f..2ed7b06 100755 --- a/bin/run-radiopadre +++ b/bin/run-radiopadre @@ -324,7 +324,7 @@ import signal signal.signal(signal.SIGHUP, _handle_hup) # work out browser -if config.BROWSER.upper() in ("NONE", "FALSE", "0"): +if str(config.BROWSER).upper() in ("NONE", "FALSE", "0"): config.BROWSER = None