Skip to content

Commit b04b491

Browse files
committed
Fix typo in desktop id
1 parent 9df8828 commit b04b491

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tkfilebrowser/filebrowser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def __init__(self, parent, initialdir="", initialfile="", mode="openfile",
302302

303303
# -------- desktop
304304
try:
305-
desktop = check_output(['xdg-users-dir', 'DESKTOP']).decode().strip()
305+
desktop = check_output(['xdg-user-dir', 'DESKTOP']).decode().strip()
306306
except Exception:
307307
# FileNotFoundError in python3 if xdg-users-dir is not installed,
308308
# but OSError in python2

0 commit comments

Comments
 (0)