From cd404e38a7d3c65d6ccc28d87e379eefaea15cd7 Mon Sep 17 00:00:00 2001 From: Gilles Castel Date: Wed, 18 Nov 2020 10:44:49 +0100 Subject: [PATCH] Fix #22 --- styles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles.py b/styles.py index 4085b30..b5574c5 100644 --- a/styles.py +++ b/styles.py @@ -21,7 +21,7 @@ def create_if_not_exists(directory): 'object': create_if_not_exists(CONFIG_PATH / 'objects'), } -rofi_theme_params = ['-theme', config['rofi_theme']] if 'rofi_theme' in config else [] +rofi_theme_params = ['-theme', config['rofi_theme']] if ('rofi_theme' in config and config['rofi_theme'] is not None) else [] print(data_dirs)