Fix Watchdog port being used as string (#2903)

This commit is contained in:
Franck Nijhof 2021-05-19 17:32:31 +02:00 committed by GitHub
parent 4bec86c58c
commit fb81946240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -453,7 +453,7 @@ class Addon(AddonModel):
application = RE_WATCHDOG.match(url)
# extract arguments
t_port = application.group("t_port")
t_port = int(application.group("t_port"))
t_proto = application.group("t_proto")
s_prefix = application.group("s_prefix") or ""
s_suffix = application.group("s_suffix") or ""