mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
Use correct debug scripts folder (#3973)
This commit is contained in:
parent
0277721280
commit
b84f2d7873
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