diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2011-11-25 16:42:29 +0100 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2011-11-25 16:42:29 +0100 |
commit | 49a4d893b17800f30796fb6fcfcfa3c8f2f4c7fd (patch) | |
tree | 8dcecdc9e4ee293aff0b975ca25ae09d0f6e1a38 | |
parent | 48fab1b1d5ba11f6e4ca0b30f4a7a3aa6cbd6fcc (diff) | |
download | PyPhytron-49a4d893b17800f30796fb6fcfcfa3c8f2f4c7fd.tar.gz PyPhytron-49a4d893b17800f30796fb6fcfcfa3c8f2f4c7fd.tar.bz2 |
Axis.enumerate: fixed type in if statement
-rw-r--r-- | Phytron.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -260,7 +260,7 @@ class IPCOMM: try: if self.execute(ID, 'IS?').ID == ID: if ((isinstance(names, dict) and names.haskey(ID)) or (isinstance(names, list) and i < len(names))) and names[i].isalpha(): - if (isinstance(names, dict): + if isinstance(names, dict): axisname = names[ID] else: axisname = names[i] |