Fixed linter errors

This commit is contained in:
Sumner Evans
2019-11-21 22:48:55 -07:00
parent fa3db6df66
commit 51508f1f41
6 changed files with 20 additions and 14 deletions

View File

@@ -214,7 +214,7 @@ class AlbumsPanel(Gtk.Box):
def on_year_changed(self, entry):
try:
year = int(entry.get_text())
except:
except Exception:
# TODO prevent input of non-numerals
print('failed, should do something to prevent non-numeric input')
return