Compare commits

..

2 Commits

Author SHA1 Message Date
Ferdinand Thiessen 27a086a5c0 feat(plugins): Load metadata from entry points / distribution
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline failed Details
ci/woodpecker/pr/test Pipeline was successful Details
2022-02-22 11:07:32 +01:00
Ferdinand Thiessen bc2fb820f0 chore(clean): Fix codestyle of config.py
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/test Pipeline was successful Details
2022-02-22 11:07:15 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ def frontend(userid, current_session):
raise Forbidden
if request.method == "POST":
if request.content_length > 1024**2:
if request.content_length > 1024 ** 2:
raise BadRequest
current_session.user_.set_attribute("frontend", request.get_json())
return no_content()