diff --git a/content/db/cache.ts b/content/db/cache.ts index f40933ca3..3fbd08531 100644 --- a/content/db/cache.ts +++ b/content/db/cache.ts @@ -424,7 +424,7 @@ export const Cache = new class $Cache { Zotero.Prefs.clear(del) } - await Zotero.proxyAuthComplete() + await Zotero.proxyAuthComplete this.db = await this.$open('open') if (!this.db || !(await this.validate())) { diff --git a/test/behave b/test/behave index 5ee773934..bc6915a8e 100755 --- a/test/behave +++ b/test/behave @@ -198,8 +198,9 @@ def cancel_proxy(): def main(): config = Configuration() thread = None - thread = threading.Thread(target=cancel_proxy) - thread.start() + if platform.system() == 'Linux': + thread = threading.Thread(target=cancel_proxy) + thread.start() sys.exit(run_behave(config, runner_class=InstallLastRunner)) if thread: thread.join()