diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2023-08-04 20:02:00 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2023-08-04 20:03:29 +0000 |
commit | b42091406ba4f4abe8591a793e2334d38613aaf5 (patch) | |
tree | 6b1e30d7a42cb41cff2ef50887b6010516152329 /serve.py | |
parent | 8f5488436b90d85969abb8bdcbb0ecf14d8936bd (diff) | |
download | tagrss-main.tar tagrss-main.tar.gz tagrss-main.zip |
Diffstat (limited to 'serve.py')
-rwxr-xr-x | serve.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ core = tagrss.TagRss(storage_path=storage_path) def forgiving_parse_int(inp, default: int) -> int: try: return int(inp) - except (ValueError, TypeError): + except (TypeError, ValueError): return default |