Wokia-Dev / EzFractal

Re-defined variable from outer scope PYL-W0621
Anti-pattern
Major
3 occurrences in this check
Redefining name 'e' from outer scope (line 110)
116                                    os.getcwd(), "Resources/Images/Saved_fractals/"
117                                )
118                            )
119                        except Exception as e:120                            print("Error: ", e)
121                checked_ez_button.create_button()
122
Redefining name 'e' from outer scope (line 139)
140                        print("Error: ", e)
141                        try:
142                            os.system("xdg-open " + "CONFIG.ini")
143                        except Exception as e:144                            print("Error: ", e)
145        if any(
146            complex_button.check_hover(mouse_x, mouse_y)
Redefining name 'e' from outer scope (line 75)
 83                                    ),
 84                                ]
 85                            )
 86                        except Exception as e: 87                            print("Error:", e)
 88
 89                if checked_ez_button.name == "btnExport":