Skip to content

Commit a0d2b8a

Browse files
committed
Use double quotes
1 parent de292ce commit a0d2b8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

papersbot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
# We select entries based on title or summary (abstract, for some feeds)
4242
def entryMatches(entry):
4343
# Malformed entry
44-
if 'title' not in entry:
44+
if "title" not in entry:
4545
return False
4646

4747
if regex.search(entry.title):
@@ -105,7 +105,7 @@ def journalHandle(url):
105105

106106
# Find the URL for an image associated with the entry
107107
def findImage(entry):
108-
if 'description' not in entry:
108+
if "description" not in entry:
109109
return
110110

111111
soup = bs4.BeautifulSoup(entry.description, "html.parser")
@@ -349,5 +349,5 @@ def main():
349349
bot.printStats()
350350

351351

352-
if __name__ == '__main__':
352+
if __name__ == "__main__":
353353
main()

0 commit comments

Comments
 (0)