diff options
Diffstat (limited to 'poezio/theming.py')
-rwxr-xr-x | poezio/theming.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poezio/theming.py b/poezio/theming.py index 029a9a6c..1ea70d73 100755 --- a/poezio/theming.py +++ b/poezio/theming.py @@ -495,7 +495,8 @@ def update_themes_dir(option=None, value=None): # import from the user-defined prefs themes_dir = config.get('themes_dir') - themes_dir = Path(themes_dir).expanduser() if themes_dir else xdg.DATA_HOME / 'themes' + themes_dir = Path( + themes_dir).expanduser() if themes_dir else xdg.DATA_HOME / 'themes' try: themes_dir.mkdir(parents=True, exist_ok=True) except OSError: |