Skip to content
Snippets Groups Projects
Commit a8caaedf authored by Jonas Schürmann's avatar Jonas Schürmann
Browse files

return without parentheses

parent bb30f54e
Branches
No related tags found
1 merge request!2Soup
......@@ -8,7 +8,7 @@ import requests
def find_room():
html = requests.get("https://foss-ag.de/").text
soup = BeautifulSoup(html, 'html.parser')
return (
date = (
soup
.find(id="ag-termine")
.find_next_sibling("div")
......@@ -17,6 +17,7 @@ def find_room():
.get_text()
.strip()
)
return date
# Called when a message is recieved.
def on_message(room, event):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment