Closed netonjm closed 4 years ago
I did the same in local, it is working perfectly for me.
@Stephan3 thoughs?
Thanks! I can confirm that this PR fixes the 'try_load_module' Error with the latest DWC2 version!
Thanks for the fix! it would be cool to apply it to make it easier!
i picked that one up to a single commit. Thanks for orking that out @netonjm
It was on a single commit without conflicts, sad because it was not merged 😿
@netonjm dont get me wrong. You had the right idea.
I decided to use lookup_object instead. If needed it fails gently. https://github.com/Stephan3/dwc2-for-klipper/blob/5953e779e5cc2f226e3daabf835a6477ecd49974/web_dwc2.py#L48
Fixes API break in printer.try_load_module
https://github.com/KevinOConnor/klipper/commit/787ed452c2abe3bad81ffaf732b0b2609e3534bb
now webserver intializes again.
Fixes https://github.com/Stephan3/dwc2-for-klipper/issues/73