ConfigTreeNode.py
changeset 2414 7fad75e5e63d
parent 2182 eeca1aff0691
child 2418 5587c490a070
--- a/ConfigTreeNode.py	Mon Oct 01 14:29:01 2018 +0300
+++ b/ConfigTreeNode.py	Mon Oct 01 15:36:01 2018 +0300
@@ -277,7 +277,7 @@
         LDFLAGS = []
         if CTNLDFLAGS is not None:
             # LDFLAGS can be either string
-            if isinstance(CTNLDFLAGS, str) or isinstance(CTNLDFLAGS, unicode):
+            if isinstance(CTNLDFLAGS, (str, unicode)):
                 LDFLAGS += [CTNLDFLAGS]
             # or list of strings
             elif isinstance(CTNLDFLAGS, list):