From 99dabb2d62248fc3ea5705c2720abf71c9fc378b Mon Sep 17 00:00:00 2001 From: Romanos Skiadas Date: Fri, 17 Sep 2021 20:31:08 +0300 Subject: [PATCH] linux/storagepath: Fixup DOCUMENTS to DOCUMENT this is the right name according to the XDG spec, and the key used in the default paths dict --- plyer/platforms/linux/storagepath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plyer/platforms/linux/storagepath.py b/plyer/platforms/linux/storagepath.py index 9dea7cb85..5811273e4 100755 --- a/plyer/platforms/linux/storagepath.py +++ b/plyer/platforms/linux/storagepath.py @@ -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):