controls/DebugVariablePanel/DebugVariableGraphicViewer.py
changeset 2450 5024c19ca8f0
parent 2440 45b43f275ca1
child 3303 0ffb41625592
--- a/controls/DebugVariablePanel/DebugVariableGraphicViewer.py	Thu Oct 11 10:25:19 2018 +0300
+++ b/controls/DebugVariablePanel/DebugVariableGraphicViewer.py	Thu Oct 11 12:00:40 2018 +0300
@@ -25,7 +25,6 @@
 
 from __future__ import absolute_import
 from __future__ import division
-from types import TupleType
 from time import time as gettime
 from cycler import cycler
 
@@ -158,7 +157,7 @@
         # Check that data is valid regarding DebugVariablePanel
         try:
             values = eval(data)
-            if not isinstance(values, TupleType):
+            if not isinstance(values, tuple):
                 raise ValueError
         except Exception:
             message = _("Invalid value \"%s\" for debug variable") % data