--- a/BeremizIDE.py Thu Oct 11 10:25:19 2018 +0300
+++ b/BeremizIDE.py Thu Oct 11 12:00:40 2018 +0300
@@ -30,7 +30,6 @@
import tempfile
import shutil
import random
-import types
import time
from time import time as gettime
from threading import Lock, Timer, currentThread
@@ -717,7 +716,7 @@
def GenerateMenuRecursive(self, items, menu):
for kind, infos in items:
- if isinstance(kind, types.ListType):
+ if isinstance(kind, list):
text, id = infos
submenu = wx.Menu('')
self.GenerateMenuRecursive(kind, submenu)