Fix selection of image.

Thank you roughnecks for the report.
This commit is contained in:
Schimon Jehudah 2024-01-27 19:19:41 +00:00
parent 9094921b40
commit 4da2a28184

View file

@ -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()