From 538afac03e35d3e44e1677ef2cd83009d3482632 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Wed, 31 Jul 2024 15:31:15 -0400 Subject: [PATCH] fix stupid typo --- kindle_fetch/kindle_fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kindle_fetch/kindle_fetch.py b/kindle_fetch/kindle_fetch.py index 7c55d2b..8661cf5 100644 --- a/kindle_fetch/kindle_fetch.py +++ b/kindle_fetch/kindle_fetch.py @@ -63,7 +63,7 @@ def get_download_link(text): r"\[Download PDF\]\((.*?)\)", text.replace("\n", " ").replace("\r", "") ) - IF not m: + if not m: return None, None p = re.search(r"([0-9]+) page", text)