Skip to content

Typo in fetching gtk-bookmarks causes exception #23

@avihayb

Description

@avihayb

https://github.com/j4321/tkFileBrowser/blob/master/tkfilebrowser/filebrowser.py#L382
path_bm = join(home, ".config", "gtk-3.0", "bookmarks")
path_bm2 = join(home, ".gtk-bookmarks") # old location
if exists(path_bm):
with open(path_bm) as f:
bms = f.read().splitlines()
elif exists(path_bm2):
with open(path_bm) as f:
*** ^ ***
bms = f.read().splitlines()
else:

path_bm should be path_bm2 or the dialog crashes with file not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions