Skip to content

Commit

Permalink
flake8 + backlight: except self.py3.CommandError
Browse files Browse the repository at this point in the history
  • Loading branch information
lasers committed Aug 22, 2018
1 parent d17fe01 commit 04881a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions py3status/modules/backlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def post_config_hook(self):
float(output)
self.command_available = True
except ValueError:
self.command_available = False
except:
pass
except self.py3.CommandError:
pass

if self.command_available and self.brightness_initial:
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ flake8-ignore =
# bare except on the known modules (2018-Aug-22)
py3status/modules/arch_updates.py E722
py3status/modules/aws_bill.py E722
py3status/modules/backlight.py E722
py3status/modules/coin_balance.py E722
py3status/modules/imap.py E722
py3status/modules/ns_checker.py E722
Expand Down

0 comments on commit 04881a0

Please sign in to comment.