强制utf-8

This commit is contained in:
Womsxd 2022-01-09 18:20:56 +08:00
parent ef61459459
commit 991205efb6
No known key found for this signature in database
GPG Key ID: 0FE76418EE689B68

View File

@ -6,7 +6,8 @@ cfg = ConfigParser()
def load_config(): def load_config():
cfg.read(os.path.join(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'config'),'push.ini')) cfg.read(os.path.join(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'config'), 'push.ini'),
encoding='utf-8')
def title(status): def title(status):