Skip to content

Commit 904eeff

Browse files
committed
Fix error using the website URL setting
1 parent de80836 commit 904eeff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hackspaceapi/services/website.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_membership_data() -> Optional[Iterable]:
2323
Pull the JSON formatted membership plan data from the Leigh Hackspace
2424
website.
2525
"""
26-
url = urljoin(settings.hackspace_website_url, "/membership/index.json")
26+
url = urljoin(str(settings.hackspace_website_url), "/membership/index.json")
2727
try:
2828
resp = session.get(url)
2929
if resp.ok:

0 commit comments

Comments
 (0)