another bug fix
This commit is contained in:
@@ -237,7 +237,10 @@ def durationprint(d,dstring):
|
||||
if (d == None):
|
||||
return d
|
||||
else:
|
||||
return d.strftime(dstring)[:-5]
|
||||
try:
|
||||
return d.strftime(dstring)[:-5]
|
||||
except AttributeError:
|
||||
return None
|
||||
|
||||
def getstartenddate(timeperiod):
|
||||
s,e = timeperiod.split('/')
|
||||
|
||||
Reference in New Issue
Block a user