Correct datetime attribute references
This commit is contained in:
parent
774497c1f0
commit
88319cba3c
|
@ -26,8 +26,8 @@ class LogEntry(object):
|
|||
|
||||
def datetime_string(self):
|
||||
x = self.datetime
|
||||
return "%s-%s-%s %s:%s:%s" % (x.year(), x.month(), x.day(),
|
||||
x.hour(), x.minute(), x.second())
|
||||
return "%s-%s-%s %s:%s:%s" % (x.year, x.month, x.day,
|
||||
x.hour, x.minute, x.second)
|
||||
|
||||
|
||||
def get_datetime(datetime_string):
|
||||
|
|
Loading…
Reference in New Issue
Block a user