mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-14 10:57:41 +01:00
Fixed wrong limit for warning in info plugin
This commit is contained in:
parent
726e7632bf
commit
8d190ef150
@ -181,7 +181,7 @@ class InfoPlugin(BasePlugin[InfoPluginConfig]):
|
||||
|
||||
# Print warning when file size is excessively large
|
||||
print(Style.RESET_ALL)
|
||||
if buffer.nbytes > 250000:
|
||||
if buffer.nbytes > 1000000:
|
||||
log.warning("Archive exceeds recommended maximum size of 1 MB")
|
||||
|
||||
# Aaaaaand done.
|
||||
|
@ -181,7 +181,7 @@ class InfoPlugin(BasePlugin[InfoPluginConfig]):
|
||||
|
||||
# Print warning when file size is excessively large
|
||||
print(Style.RESET_ALL)
|
||||
if buffer.nbytes > 250000:
|
||||
if buffer.nbytes > 1000000:
|
||||
log.warning("Archive exceeds recommended maximum size of 1 MB")
|
||||
|
||||
# Aaaaaand done.
|
||||
|
Loading…
Reference in New Issue
Block a user