mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
Update FilePackPlugin.py
This commit is contained in:
parent
c44cb11800
commit
b82cf8d08d
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class UiRequestPlugin(object):
|
|||
content_type = self.getContentType(file_path)
|
||||
self.sendHeader(200, content_type=content_type, noscript=kwargs.get("header_noscript", False))
|
||||
return self.streamFile(file)
|
||||
except Exception, err:
|
||||
except Exception as err:
|
||||
self.log.debug("Error opening archive file: %s" % err)
|
||||
return self.error404(path)
|
||||
|
||||
|
|
Loading…
Reference in a new issue