diff options
Diffstat (limited to 'poezio/core/completions.py')
-rw-r--r-- | poezio/core/completions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/completions.py b/poezio/core/completions.py index a6007152..634ab6b3 100644 --- a/poezio/core/completions.py +++ b/poezio/core/completions.py @@ -55,7 +55,7 @@ class CompletionCore: themes_dir = os.path.expanduser(themes_dir) try: names = os.listdir(themes_dir) - except OSError as e: + except OSError: log.error('Completion for /theme failed', exc_info=True) return False theme_files = [name[:-3] for name in names if name.endswith('.py') and name != '__init__.py'] |