summaryrefslogtreecommitdiffstats
path: root/src/Gui/CCDump.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gui/CCDump.py')
-rw-r--r--src/Gui/CCDump.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Gui/CCDump.py b/src/Gui/CCDump.py
index 1f290929..2bb55dd0 100644
--- a/src/Gui/CCDump.py
+++ b/src/Gui/CCDump.py
@@ -79,11 +79,11 @@ class Dump():
#return self.Message[CD_CONTENT].split('\n')
return self.Message[CD_CONTENT]
- def getTime(self, format):
+ def getTime(self, fmt):
#print format
- if format:
+ if fmt:
try:
- return datetime.fromtimestamp(int(self.time[CD_CONTENT])).strftime(format)
+ return datetime.fromtimestamp(int(self.time[CD_CONTENT])).strftime(fmt)
except Exception, e:
print e
return int(self.time[CD_CONTENT])