1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

Fix handling of persistant storage if no persistant storage exists yet

This commit is contained in:
2015-02-05 18:38:28 +01:00
parent 0ae9a6ba66
commit 8fe1e1b39d
3 changed files with 13 additions and 8 deletions

View File

@@ -229,7 +229,7 @@ def handle_msg(msg_obj):
return
arg_user = msg_obj['mucnick']
blob_userpref = conf_load()['user_pref']
blob_userpref = conf_load().get('user_pref',[])
nospoiler = False
if arg_user in blob_userpref: