PiMaV / BLITZ

*B*ulk *L*oading and *I*nteractive *T*ime series *Z*onal analysis
GNU General Public License v3.0
7 stars 0 forks source link

Ini #55

Closed PiMaV closed 2 weeks ago

PiMaV commented 1 month ago

Default Ini is not written anymore?

Traceback (most recent call last):
  File "C:\PYTHON\BLITZ\blitz\layout\main.py", line 713, in sync_settings
    settings.set("data/max_ram", self.ui.spinbox_max_ram.value())
  File "C:\PYTHON\BLITZ\blitz\settings.py", line 118, in set
    SETTINGS[setting] = value
    ~~~~~~~~^^^^^^^^^
  File "C:\PYTHON\BLITZ\blitz\settings.py", line 94, in __setitem__
    type_ = type(_default_settings[setting])
                 ~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: 'data/max_ram'

When "saved" per Project manually, it saves XXX.ini.ini (ending twice)

-> default settings are crucial to be save everytime they are changed. This is true for all settings on the file tab (incl. the WOLKE connection information)

PiMaV commented 4 weeks ago

I would like to call that file XXX.blitz instead of XXX.ini Its way easier to identify

PiMaV commented 2 weeks ago

Fixed