fix NameError in CachedStaticResource._handle

This commit is contained in:
Izalia Mae 2024-03-15 22:56:16 -04:00
parent 02564c7295
commit d579ec634d

View file

@ -262,7 +262,7 @@ class CachedStaticResource(StaticResource):
try: try:
return web.Response( return web.Response(
body = self.cache[rel_url], body = self.cache[rel_url],
content_type = guess_type(path)[0] content_type = guess_type(rel_url)[0]
) )
except KeyError: except KeyError: