diff --git a/platypush/config/config.yaml b/platypush/config/config.yaml index 434220eb3..335698bf8 100644 --- a/platypush/config/config.yaml +++ b/platypush/config/config.yaml @@ -723,7 +723,6 @@ backend.http: # # tts: # # The media plugin that should be used to play the audio response -# media_plugin: media.vlc # # The default language of the voice # language: en-gb ### @@ -740,8 +739,6 @@ backend.http: # # account. # # tts.google: -# # The media plugin that should be used to play the audio response -# media_plugin: media.vlc # # The default language of the voice # language: en-US # # The gender of the voice (MALE or FEMALE) diff --git a/platypush/utils/__init__.py b/platypush/utils/__init__.py index 69e9e5cc6..eaeb40573 100644 --- a/platypush/utils/__init__.py +++ b/platypush/utils/__init__.py @@ -773,4 +773,11 @@ def is_debug_enabled() -> bool: return (Config.get('logging') or {}).get('level') == logging.DEBUG +def get_default_downloads_dir() -> str: + """ + :return: The default downloads directory. + """ + return os.path.join(os.path.expanduser('~'), 'Downloads') + + # vim:sw=4:ts=4:et: