Fix a few issues with API

This commit is contained in:
Lucas Verney 2016-12-19 16:04:26 +01:00
parent 79c63675f5
commit 3830e27a8f
16 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class ModuleStatus(peewee.Model):
module = peewee.CharField(max_length=255) # Module name
origin = peewee.CharField(max_length=255) # Origin of the update
datetime = peewee.DateTimeField(
default=arrow.utcnow().replace(microsecond=0))
default=arrow.utcnow().replace(microsecond=0).datetime)
is_good = peewee.BooleanField() # True if good, False if bad
class Meta: