explicitly convert page and page_size to int

This commit is contained in:
Victor Shyba 2018-09-18 16:28:47 -03:00 committed by Lex Berezhny
parent 570c1163c1
commit 91405ef232

View file

@ -2651,6 +2651,8 @@ class Daemon(AuthJSONRPCServer):
""" """
uris = tuple(uris) uris = tuple(uris)
page = int(page)
page_size = int(page_size)
if uri is not None: if uri is not None:
uris += (uri,) uris += (uri,)