need4swede / Portall

Port Management Interface
MIT License
309 stars 5 forks source link

Settings reset when clicking on "Save" button in general settings #10

Closed Buco7854 closed 2 months ago

Buco7854 commented 2 months ago

If you click on save in the general settings (under default IP select) it will always reset the settings

The issue comes from the settings.py file where the default IP theme and custom css are set as empty string

A fix could be to set it to None instead of empty string and make sure to set some lines after theme only if it was actually provided.

need4swede commented 2 months ago

This should be fixed in the latest release. Please let me know if you experience any issues!

Buco7854 commented 2 months ago

Seems it is fixed thanks