Small bugfix on error:

TypeError: cannot concatenate 'str' and 'int' objects
This commit is contained in:
gotson
2014-03-28 18:09:23 +08:00
parent 863ad41f7c
commit dc07138caf

View File

@@ -312,7 +312,7 @@ def check_setting_str(config, cfg_name, item_name, def_val, log=True):
config[cfg_name][item_name] = my_val
if log:
logger.debug(item_name + " -> " + my_val)
logger.debug(item_name + " -> " + str(my_val))
else:
logger.debug(item_name + " -> ******")
return my_val