Skip to content

Commit

Permalink
Fix typo in desktop id
Browse files Browse the repository at this point in the history
  • Loading branch information
j4321 committed Aug 14, 2018
1 parent 9df8828 commit b04b491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tkfilebrowser/filebrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def __init__(self, parent, initialdir="", initialfile="", mode="openfile",

# -------- desktop
try:
desktop = check_output(['xdg-users-dir', 'DESKTOP']).decode().strip()
desktop = check_output(['xdg-user-dir', 'DESKTOP']).decode().strip()
except Exception:
# FileNotFoundError in python3 if xdg-users-dir is not installed,
# but OSError in python2
Expand Down

0 comments on commit b04b491

Please sign in to comment.