Skip to content

Commit

Permalink
linux/storagepath: Fixup DOCUMENTS to DOCUMENT
Browse files Browse the repository at this point in the history
this is the right name according to the XDG spec, and the key used in
the default paths dict
  • Loading branch information
rski committed Sep 17, 2021
1 parent 7617bdb commit 99dabb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plyer/platforms/linux/storagepath.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _get_root_dir(self):
return "/"

def _get_documents_dir(self):
directory = self._get_from_user_dirs("DOCUMENT")
directory = self._get_from_user_dirs("DOCUMENTS")
return directory.replace("$HOME", self._get_home_dir())

def _get_downloads_dir(self):
Expand Down

0 comments on commit 99dabb2

Please sign in to comment.