src/eric7/MicroPython/MicroPythonWidget.py

branch
eric7
changeset 10144
45a9177c8e77
parent 10138
56614cf9d03c
child 10151
6ab011d1f866
equal deleted inserted replaced
10143:bf84513859ca 10144:45a9177c8e77
967 """ 967 """
968 Private slot to populate the Super Menu before showing it. 968 Private slot to populate the Super Menu before showing it.
969 """ 969 """
970 self.__superMenu.clear() 970 self.__superMenu.clear()
971 971
972 if self.__device: 972 if self.__device and not self.__device.hasCircuitPython():
973 networkConnected = self.__device.isNetworkConnected() 973 networkConnected = self.__device.isNetworkConnected()
974 useLocalMip = ( 974 useLocalMip = (
975 ( 975 (
976 self.__device.getDeviceData("mip") 976 self.__device.getDeviceData("mip")
977 or self.__device.getDeviceData("upip") 977 or self.__device.getDeviceData("upip")
978 ) and not networkConnected 978 )
979 and not networkConnected
979 ) or self.__device.getDeviceData("local_mip") 980 ) or self.__device.getDeviceData("local_mip")
980 hasMip = self.__device.getDeviceData("mip") and networkConnected 981 hasMip = self.__device.getDeviceData("mip") and networkConnected
981 hasUPip = self.__device.getDeviceData("upip") and networkConnected 982 hasUPip = self.__device.getDeviceData("upip") and networkConnected
982 else: 983 else:
983 hasMip = False 984 hasMip = False

eric ide

mercurial