Fix crash in Python3 due to excess space
The error message was: TabError: inconsistent use of tabs and spaces in indentation
This commit is contained in:
parent
2d981cd737
commit
59459ebbd6
|
@ -186,7 +186,7 @@ def icon_file(name, size=_LARGE_SIZE):
|
||||||
if _default_theme.has_icon(name):
|
if _default_theme.has_icon(name):
|
||||||
theme_icon = _default_theme.lookup_icon(name, size, 0)
|
theme_icon = _default_theme.lookup_icon(name, size, 0)
|
||||||
file_name = theme_icon.get_filename()
|
file_name = theme_icon.get_filename()
|
||||||
_log.debug("icon %s(%d) => %s", name, size, file_name)
|
_log.debug("icon %s(%d) => %s", name, size, file_name)
|
||||||
return file_name
|
return file_name
|
||||||
|
|
||||||
_log.warn("icon %s(%d) not found in current theme", name, size)
|
_log.warn("icon %s(%d) not found in current theme", name, size)
|
||||||
|
|
Loading…
Reference in New Issue