fix icons.db creation during startup

This commit is contained in:
j 2019-01-30 22:22:16 +05:30
commit f8d226a3de
2 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@ def get_icons_db_path():
import settings
import shutil
library = os.path.expanduser(settings.preferences['libraryPath'])
library = os.path.normpath(os.path.expanduser(settings.preferences['libraryPath']))
metadata = os.path.join(library, 'Metadata')
icons_db_path = os.path.join(metadata, 'icons.db')
if os.path.exists(os.path.dirname(library)):