--- a/etherlab/ConfigEditor.py Thu Oct 11 10:25:19 2018 +0300
+++ b/etherlab/ConfigEditor.py Thu Oct 11 12:00:40 2018 +0300
@@ -13,7 +13,6 @@
from __future__ import division
import os
import re
-from types import TupleType
import wx
import wx.grid
@@ -418,7 +417,7 @@
except Exception:
message = _("Invalid value \"%s\" for process variable") % data
values = None
- if not isinstance(values, TupleType):
+ if not isinstance(values, tuple):
message = _("Invalid value \"%s\" for process variable") % data
values = None
if values is not None and col != wx.NOT_FOUND and row != wx.NOT_FOUND and 2 <= col <= 3:
@@ -480,7 +479,7 @@
except Exception:
message = _("Invalid value \"%s\" for startup command") % data
values = None
- if not isinstance(values, TupleType):
+ if not isinstance(values, tuple):
message = _("Invalid value \"%s\" for startup command") % data
values = None
if values is not None: