1. biolab
  2. Untitled project
  3. orange

Commits

Marko Toplak  committed e7bfa08

Databases update: use a dummy date instead of crashing.

  • Participants
  • Parent commits 4aade1f
  • Branches default

Comments (0)

Files changed (1)

File Orange/OrangeWidgets/OWDatabasesUpdate.py

View file
             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()