Try to trap a bug

svn: r174
This commit is contained in:
Don Allingham
2001-06-21 23:55:59 +00:00
parent b486916155
commit 936fc791b6

View File

@@ -355,6 +355,10 @@ class SingleDate:
#
#--------------------------------------------------------------------
def setMonth(self,val):
if val > 12:
self.month = -1
print "Bad month index : %d" % val
else:
self.month = val - 1
#--------------------------------------------------------------------