fix issue 8
This commit is contained in:
1 parent
c815c2b09a
commit
92fb25c1c1
1 file changed
+1
-1
+1
-1
@@ -82,7 +82,7 @@ class CreatePitstopForm(Form):
|
||||
if self.date.data:
|
||||
self.date.default = self.date.data
|
||||
else:
|
||||
self.date.default = self.last_pitstop.date
|
||||
self.date.default = date.today()
|
||||
if self.odometer.data:
|
||||
self.odometer.default = self.odometer.data
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user