强制utf-8
This commit is contained in:
parent
ef61459459
commit
991205efb6
3
push.py
3
push.py
@ -6,7 +6,8 @@ cfg = ConfigParser()
|
||||
|
||||
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user