mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +01:00
Fixed regression in privacy plugin
This commit is contained in:
parent
5eef815858
commit
e2c621f1d9
@ -149,6 +149,10 @@ class PrivacyPlugin(BasePlugin[PrivacyConfig]):
|
||||
|
||||
# Sync all concurrent jobs
|
||||
def on_env(self, env, *, config, files):
|
||||
if not self.config.enabled:
|
||||
return
|
||||
|
||||
# Wait until all jobs until now are finished
|
||||
wait(self.pool_jobs)
|
||||
|
||||
# Process external assets in template (run later)
|
||||
|
@ -149,6 +149,10 @@ class PrivacyPlugin(BasePlugin[PrivacyConfig]):
|
||||
|
||||
# Sync all concurrent jobs
|
||||
def on_env(self, env, *, config, files):
|
||||
if not self.config.enabled:
|
||||
return
|
||||
|
||||
# Wait until all jobs until now are finished
|
||||
wait(self.pool_jobs)
|
||||
|
||||
# Process external assets in template (run later)
|
||||
|
Loading…
Reference in New Issue
Block a user