Closed 7FM closed 3 years ago
Looks like that line should actually be this:
if current is None:
current = -1
if current < 2:
logger.info("Migrating settings to version 2.")
In your code, the settings migration would be skipped if current is None. I did fix the issue (thanks for locating it!), so I'll close this out.
During octoprint startup I get a small stacktrace due to a comparison with None. Thus a simple fix should be replacing the fallthrough if checks with if else
PS: Any suggestion to get a version number for my settings?^^ And of course thanks a lot for your dedication! I am using this plugin for a while now without problems :)