Skip to content

Commit

Permalink
Make sure the tmp directory exists
Browse files Browse the repository at this point in the history
  • Loading branch information
kartchnb committed May 19, 2024
1 parent f875a06 commit 47da50c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions AutoTowersGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,9 +532,14 @@ def _onPluginsLoadedCallback(self)->None:
Iniializing here means that Cura is fully ready '''

self._pluginSettings = PluginSettings(self._pluginSettingsFilePath)

# Init openscad path
self._openScadInterface.SetOpenScadPath(self._pluginSettings.GetValue('openscad path'))

# Make sure the temp directory exists
if not os.path.exists(self._tempDir):
os.makedirs(self._tempDir)

self._initializeMenu()


Expand Down

0 comments on commit 47da50c

Please sign in to comment.