Every time I try to use your plugin (v0.7.2, Sigil 0.9.9) I get this error:
Code:
Status: failed
C:\Users\dahti\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\ePUBOptimizer.exe C:\Users\dahti\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\dummy.epub
Traceback (most recent call last):
File "D:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 135, in launch
self.exitcode = target_script.run(container)
File "C:\Users\dahti\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\plugin.py", line 102, in run
print(result[0].decode('utf-8'))
UnboundLocalError: local variable 'result' referenced before assignment
Error: local variable 'result' referenced before assignment
What can I do?