mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
Only create list if we want WOPI
This commit is contained in:
parent
a29609640c
commit
6731295f32
|
|
@ -242,7 +242,8 @@ class HttpSrv(object):
|
|||
if (HAVE_PIL or HAVE_VIPS or HAVE_FFMPEG) and not self.args.no_thumb:
|
||||
Daemon(self.post_init, "hsrv-init2")
|
||||
|
||||
self.wopi_files: dict[str, str] = {}
|
||||
if self.args.wopi:
|
||||
self.wopi_files: dict[str, str] = {}
|
||||
|
||||
def post_init(self) -> None:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue