summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xmailinglist/launchpad.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mailinglist/launchpad.py b/mailinglist/launchpad.py
index a5a57d7cd..6b1cdd1ef 100755
--- a/mailinglist/launchpad.py
+++ b/mailinglist/launchpad.py
@@ -3,14 +3,14 @@ from os import makedirs, path
 
 def process_launchpad_bug(bug_id) -> bool:
     if path.exists(f"output_launchpad/{bug_id}"):
-        return false
+        return False
 
     bug_url = f"https://api.launchpad.net/1.0/bugs/{bug_id}"
 
     bug_response = get(url = bug_url)
 
     if not 'application/json' in bug_response.headers.get('Content-Type', ''):
-        return false
+        return False
 
     bug_data = bug_response.json()
 
@@ -24,4 +24,4 @@ def process_launchpad_bug(bug_id) -> bool:
 
         for entry in messages_data['entries']:
             file.write(f"{entry['content']}\n\n")
-    return true
+    return True