diff --git a/src/l10n.py b/src/l10n.py index 406e3221..f556b7ef 100644 --- a/src/l10n.py +++ b/src/l10n.py @@ -100,7 +100,7 @@ def formatTimestamp(timestamp=None): if timestamp is not None and not isinstance(timestamp, int): try: timestamp = int(timestamp) - except: + except: # noqa:E722 timestamp = None # timestamp can't be less than 0.