fixed utf8 encoding errors

This commit is contained in:
Palma Solutions LTD
2019-02-10 11:50:51 +01:00
parent 1c85b473df
commit 2d4367ae38
2 changed files with 12 additions and 0 deletions

View File

@@ -14,6 +14,12 @@ import os
import re
import fnmatch
# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
whitelist = [
'/lp-msh-scanner/',
'/LP-MSH-Scanner-master/'

View File

@@ -13,6 +13,12 @@ import os
import re
import fnmatch
# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
whitelist = [
'lp-msh-scanner/',
'LP-MSH-Scanner-master/',