Skip to content

Commit

Permalink
Merge pull request #163 from syeopite/fix-python-311-incompat
Browse files Browse the repository at this point in the history
Fix python 3.11 incompatiblity
  • Loading branch information
syeopite authored Dec 28, 2024
2 parents 1f59497 + 8ed8196 commit c84f0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def prefix_slash_in_url_if_missing(url):
if not url.startswith("/"):
return f"/{url}"
else:
return f"/{url.lstrip("/")}"
return f"/{url.lstrip('/')}"


async def create_poll_callback(ctx, blog, post_id):
Expand Down

0 comments on commit c84f0fb

Please sign in to comment.