From 6a28e458ffd3bb7fd6a16bd712197c3154388d77 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 11 Feb 2022 12:46:07 +1000 Subject: [PATCH] add import to addons.py for vscode For #1631 --- qt/aqt/addons.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/aqt/addons.py b/qt/aqt/addons.py index 472419556..3f8b954ae 100644 --- a/qt/aqt/addons.py +++ b/qt/aqt/addons.py @@ -1,5 +1,6 @@ # Copyright: Ankitects Pty Ltd and contributors # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html + from __future__ import annotations import io @@ -23,6 +24,7 @@ from send2trash import send2trash import anki import aqt import aqt.forms +import aqt.main from anki.httpclient import HttpClient from anki.lang import without_unicode_isolation from aqt import gui_hooks