Closed synman closed 1 year ago
Hello and thanks for reporting this. I'm glad you like the plugin :)
I noticed this a while ago but could not find where it came from.
This is now fixed in 1.0.5
I chased my tail for a solid hour a couple weeks back getting to the heart of it when it bit me on something else I was working on.
Describe the bug
Periodically the octoprint log spits out the following:
To Reproduce
Expected behavior
clean log
Screenshots
N/A
Version of OctoPrint-Marlin-Flasher
Latest version installed yesterday via Plugin Manager
final words
thank you for such an awesome plugin!
I've seen this error myself when you have a dict in your plugin settings that has a default value of None. I believe a future version of Octoprint is slated to handle this condition a bit more gracefully but for now we get some log spam as a result of it.
Looks like this is the source of it (https://github.com/Renaud11232/OctoPrint-Marlin-Flasher/blob/master/octoprint_marlin_flasher/__init__.py#L39):
Changing to this should solve it: