Commits

Marko Toplak committed e7bfa08

Databases update: use a dummy date instead of crashing.

Comments (0)

Files changed (1)

Orange/OrangeWidgets/OWDatabasesUpdate.py

             self.setData(3, self.EditRole2, item.latest)
         else:
             self.setData(3, Qt.DisplayRole, "N/A")
-            self.setData(3, self.EditRole2, datetime.datetime())
+            self.setData(3, self.EditRole2, datetime.now())
 
         self._updateToolTip()