mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Removed "excesive" debug and added sanity check to unserialization of form
This commit is contained in:
parent
0bb26cfae1
commit
2b3cc74f64
@ -752,9 +752,8 @@ class UserInterface(object):
|
||||
return
|
||||
for txt in values.decode('zip').split('\002'):
|
||||
k, v = txt.split('\003')
|
||||
logger.debug('k: {0}, v:{1}'.format(k,v))
|
||||
if self._gui.has_key(k):
|
||||
if v[0] == '\001':
|
||||
if v[0] == '\001' and len(v) > 1:
|
||||
val = cPickle.loads(v[1:])
|
||||
else:
|
||||
val = v
|
||||
|
Loading…
Reference in New Issue
Block a user