diff -r a389b06170d2 -r 5ea038882dd6 src/eric7/MicroPython/EthernetDialogs/WiznetUtilities.py --- a/src/eric7/MicroPython/EthernetDialogs/WiznetUtilities.py Mon Nov 20 18:26:36 2023 +0100 +++ b/src/eric7/MicroPython/EthernetDialogs/WiznetUtilities.py Tue Nov 21 11:42:45 2023 +0100 @@ -15,8 +15,7 @@ @return string containing the code to initialize the WIZnet 5x00 ethernet interface @rtype str """ - return """ -def w5x00_init(): + return """def w5x00_init(): global nic try: @@ -40,8 +39,7 @@ @return string containing the code to initialize the WIZnet 5x00 ethernet interface @rtype str """ - return """ -def w5x00_init(): + return """def w5x00_init(): global nic try: