mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Use correct debug scripts folder
This commit is contained in:
parent
51b5086b01
commit
a003d9d862
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class DebugConsole(QDialog):
|
|||
self._log.setFont(font)
|
||||
|
||||
def _setup_scripts(self) -> None:
|
||||
self._dir = ProfileManager.get_created_base_folder(None).joinpath(SCRIPT_FOLDER)
|
||||
self._dir = Path(aqt.mw.pm.base).joinpath(SCRIPT_FOLDER)
|
||||
self._dir.mkdir(exist_ok=True)
|
||||
self._script.addItem(UNSAVED_SCRIPT)
|
||||
self._script.addItems(os.listdir(self._dir))
|
||||
|
|
|
|||
Loading…
Reference in a new issue