Skip to content

Commit

Permalink
Resolve mixed slashes in db path
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadfebrianto committed Jan 6, 2023
1 parent b1c391b commit e978543
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def unpack_entry(entry):


def get_db_path(dir, name, ext):
return os.path.join(dir, name + ext)
joined_path = os.path.join(dir, name + ext)
return os.path.normpath(joined_path)


def load_stylesheet():
Expand Down

0 comments on commit e978543

Please sign in to comment.