hotfix for encoding problem - issue #542

master
Petr Medonos 2018-04-20 15:06:46 +02:00 committed by xorrior
parent 8b27c0f071
commit b90899627b
1 changed files with 4 additions and 0 deletions

4
empire
View File

@ -12,6 +12,10 @@ import ast
# Empire imports
from lib.common import empire, helpers
# set global utf8 encoding
reload(sys)
sys.setdefaultencoding('utf8')
global serverExitCommand
serverExitCommand = 'restart'