mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
98fbdadd5c
commit
7647c265e1
@ -154,7 +154,7 @@ document.title = 'compiler initialized';
|
|||||||
self.runJavaScript(src, QWebEngineScript.ApplicationWorld, self.compilation_done)
|
self.runJavaScript(src, QWebEngineScript.ApplicationWorld, self.compilation_done)
|
||||||
while self.working:
|
while self.working:
|
||||||
self.spin_loop()
|
self.spin_loop()
|
||||||
if self.compiler_result is null:
|
if self.compiler_result is null or self.compiler_result is None:
|
||||||
raise CompileFailure('Failed to compile rapydscript code with error: ' + '\n'.join(self.errors))
|
raise CompileFailure('Failed to compile rapydscript code with error: ' + '\n'.join(self.errors))
|
||||||
write_cache = self.compiler_result[1]
|
write_cache = self.compiler_result[1]
|
||||||
with open(cache_path, 'wb') as f:
|
with open(cache_path, 'wb') as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user