aboutsummaryrefslogtreecommitdiff
path: root/serve.py
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2023-08-04 20:02:00 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2023-08-04 20:03:29 +0000
commitb42091406ba4f4abe8591a793e2334d38613aaf5 (patch)
tree6b1e30d7a42cb41cff2ef50887b6010516152329 /serve.py
parent8f5488436b90d85969abb8bdcbb0ecf14d8936bd (diff)
downloadtagrss-main.tar
tagrss-main.tar.gz
tagrss-main.zip
Make tag input nicer with JS (if enabled)HEADmain
Diffstat (limited to 'serve.py')
-rwxr-xr-xserve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/serve.py b/serve.py
index ee51c99..080168d 100755
--- a/serve.py
+++ b/serve.py
@@ -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