🎨 run black

This commit is contained in:
Joe Kaufeld 2024-09-16 18:23:46 -04:00
parent 1b7ceb900b
commit b779bae6ca

View File

@ -178,7 +178,9 @@ class SpiderwebRouter(LocalServerMixin, MiddlewareMixin, RoutesMixin, FernetMixi
raise ConfigError raise ConfigError
if self.debug: if self.debug:
# We don't need a log message here because this is the expected behavior # We don't need a log message here because this is the expected behavior
self.add_route(rf"/{self.static_url}/<path:filename>", send_file) # noqa: F405 self.add_route(
rf"/{self.static_url}/<path:filename>", send_file
) # noqa: F405
else: else:
self.log.warning( self.log.warning(
"`staticfiles_dirs` is set, but `debug` is set to FALSE. Static" "`staticfiles_dirs` is set, but `debug` is set to FALSE. Static"