add: missing encoding workaround for bui-agent with python 2.x

This commit is contained in:
ziirish 2018-01-22 14:49:41 +01:00
parent 44951c6341
commit d4951fd949
No known key found for this signature in database
GPG key ID: 72DB229A64B54E46

View file

@ -9,5 +9,10 @@ jQuery/Bootstrap
.. moduleauthor:: Ziirish <hi+burpui@ziirish.me>
"""
import sys
__title__ = 'burp-ui-agent'
if sys.version_info < (3, 0): # pragma: no cover
reload(sys)
sys.setdefaultencoding('utf-8')