From ea0a245ad7931185b2e558ed484318410e8983ad Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 5 Dec 2022 20:28:06 +0000 Subject: [PATCH] Convert to integer --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index de0f30fc7..24558dc64 100644 --- a/daemon.py +++ b/daemon.py @@ -6387,7 +6387,7 @@ class PubServer(BaseHTTPRequestHandler): remaining = get_config_param(base_dir, reg_str) if fields.get('regRemaining'): if fields['regRemaining'] != remaining: - remaining = fields['regRemaining'] + remaining = int(fields['regRemaining']) if remaining < 0: remaining = 0 elif remaining > 10: