Fix selection of image.
Thank you roughnecks for the report.
This commit is contained in:
parent
9094921b40
commit
4da2a28184
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ async def set_avatar(self):
|
|||
if not filename and os.path.isdir('/usr/share/slixfeed/'):
|
||||
# filename = '/usr/share/slixfeed/image.svg'
|
||||
filename = glob.glob("/usr/share/slixfeed/image.*")
|
||||
else:
|
||||
if not filename:
|
||||
config_dir = os.path.dirname(__file__)
|
||||
config_dir = config_dir.split("/")
|
||||
config_dir.pop()
|
||||
|
|
Loading…
Reference in a new issue