mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-23 05:09:28 +00:00
Small bugfix on error:
TypeError: cannot concatenate 'str' and 'int' objects
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user