This commit is contained in:
Kovid Goyal 2021-12-05 20:50:28 +05:30
parent 11badac95d
commit 2da25d9187
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1075,7 +1075,7 @@ class Window:
def set_logo(self, path: str, position: str = '', alpha: float = -1) -> None:
from .options.utils import config_or_absolute_path
path = config_or_absolute_path(path, get_options().env) or path
path = (config_or_absolute_path(path, get_options().env) or path) if path else ''
set_window_logo(self.os_window_id, self.tab_id, self.id, path, position or '', alpha)
# actions {{{