From 5fef2f4de590240c1ff9b5c76113e88386f86d4e Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 7 Nov 2020 14:28:33 +0100 Subject: [PATCH] Remove ankisyncd --- .../share/Anki2/addons21/ankisyncd/__init__.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 home/.local/share/Anki2/addons21/ankisyncd/__init__.py diff --git a/home/.local/share/Anki2/addons21/ankisyncd/__init__.py b/home/.local/share/Anki2/addons21/ankisyncd/__init__.py deleted file mode 100644 index c59c60c..0000000 --- a/home/.local/share/Anki2/addons21/ankisyncd/__init__.py +++ /dev/null @@ -1,13 +0,0 @@ -import anki.sync -import anki.hooks -import aqt - -anki.sync.SYNC_BASE = "https://anki.sbruder.de/%s" -anki.sync.SYNC_MEDIA_BASE = "https://anki.sbruder.de/msync%s" - - -def resetHostNum(): - aqt.mw.pm.profile["hostNum"] = None - - -anki.hooks.addHook("profileLoaded", resetHostNum)