1
0
mirror of https://github.com/fcwu/docker-ubuntu-vnc-desktop synced 2026-08-05 16:12:41 +02:00

Merge pull request #109 from lifei/patch-1

make sure the type of input value is int
This commit is contained in:
DoroWu
2019-04-01 10:42:11 +08:00
committed by GitHub
+2 -2
View File
@@ -47,8 +47,8 @@ def apihealth():
def reset():
if 'w' in request.args and 'h' in request.args:
args = {
'w': request.args.get('w'),
'h': request.args.get('h'),
'w': int(request.args.get('w')),
'h': int(request.args.get('h')),
}
state.set_size(args['w'], args['h'])