aboutsummaryrefslogtreecommitdiff
path: root/operationscore/SmootCoreObject.py
diff options
context:
space:
mode:
Diffstat (limited to 'operationscore/SmootCoreObject.py')
-rw-r--r--operationscore/SmootCoreObject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/operationscore/SmootCoreObject.py b/operationscore/SmootCoreObject.py
index 7e3c8bd..291519a 100644
--- a/operationscore/SmootCoreObject.py
+++ b/operationscore/SmootCoreObject.py
@@ -18,7 +18,7 @@ class SmootCoreObject(object):
def releaseLock(self):
self.lock.release()
def className(self):
- return str(self.__class__).split('.')[-1] #TODO: this doesn't work.
+ return self.__class__.__name__
def __setitem__(self,k, item):
self.argDict[k] = item
def __getitem__(self, item):