]> git.phdru.name Git - bookmarks_db.git/commit
Fix(bkmk_rrequests): Check `r is not None`
authorOleg Broytman <phd@phdru.name>
Thu, 1 Aug 2024 07:26:13 +0000 (10:26 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 1 Aug 2024 07:26:13 +0000 (10:26 +0300)
commit70458ec57cd4806f063a4dace265ce2abf3c28ce
treea19a7d9aa3ab2b7cdd0622bc8d5696706a3c07e6
parentaa4b28596db8cd7631778cbd5047943b7a689d9f
Fix(bkmk_rrequests): Check `r is not None`

It seems `if r` is not enough --
`bool(r)` returns `False` in case there was an HTTP error.
Robots/bkmk_rrequests.py