Skip to content

Commit

Permalink
[#559] Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vaszig committed May 13, 2022
1 parent b475e6a commit ce07fab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/open_inwoner/conf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,5 +770,5 @@

# file upload limits
MIN_UPLOAD_SIZE = 1 # in bytes
MAX_UPLOAD_SIZE = 1024**2 * 100 # 100MB
MAX_UPLOAD_SIZE = 1024 ** 2 * 100 # 100MB
UPLOAD_FILE_TYPES = "application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/msword,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel,text/plain,application/vnd.oasis.opendocument.text,application/vnd.oasis.opendocument.formula,application/vnd.oasis.opendocument.spreadsheet,application/pdf,image/jpeg,image/png"
2 changes: 1 addition & 1 deletion src/open_inwoner/utils/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ThrottleMixin:

# n visits per period (in seconds)
throttle_visits = 100
throttle_period = 60**2 # in seconds
throttle_period = 60 ** 2 # in seconds
throttle_403 = True
throttle_name = "default"

Expand Down

0 comments on commit ce07fab

Please sign in to comment.