Derfuu / Derfuu_ComfyUI_ModdedNodes

365 stars 40 forks source link

Not compatibe with Python <3.10 #3

Closed mamorn closed 1 year ago

mamorn commented 1 year ago

Hey there! So I was attempting to use these nodes in colab with the notebook from comfyanon, but I ran into an issue with the switch case used in tuples because colab is on Python 3.9. Do you think we could switch it up to use elif instead? That way, it'd work with older Python versions too.

Derfuu commented 1 year ago

Updated, should now work on py 3.9. Please test it, cause i don't use colab for it

mamorn commented 1 year ago

Hey, yep it seems to work fine. There are no errors at runtime but I've only tried a few of the nodes. Mainly the ones under function and variables. I guess I'll close the issue. Thank you so much for the quick response and fix.