mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
fix #226
This commit is contained in:
parent
3c70a94a1c
commit
1d0067c801
1 changed files with 2 additions and 2 deletions
|
|
@ -517,7 +517,7 @@ class NClient(BUIbackend):
|
|||
import hmac
|
||||
import hashlib
|
||||
from base64 import b64encode
|
||||
if not isinstance(data, _ImmutableMultiDict):
|
||||
if not isinstance(data, (_ImmutableMultiDict, ImmutableMultiDict)):
|
||||
msg = 'Wrong data type'
|
||||
self.logger.warning(msg)
|
||||
raise BUIserverException(msg)
|
||||
|
|
@ -540,7 +540,7 @@ class NClient(BUIbackend):
|
|||
import hmac
|
||||
import hashlib
|
||||
from base64 import b64encode
|
||||
if not isinstance(data, _ImmutableMultiDict):
|
||||
if not isinstance(data, (_ImmutableMultiDict, ImmutableMultiDict)):
|
||||
msg = 'Wrong data type'
|
||||
self.logger.warning(msg)
|
||||
raise BUIserverException(msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue