diff --git a/model.py b/model.py index 18c2a2d..3947a91 100644 --- a/model.py +++ b/model.py @@ -146,7 +146,7 @@ class TwitterArchive(db.Model, TimestampMixin): chunks_failed = db.Column(db.Integer, server_default='0', nullable=False) def status(self): - if self.chunks == None or self.chunks_failed > 0: + if self.chunks is None or self.chunks_failed > 0: return 'failed' if self.chunks_successful == self.chunks: return 'successful' diff --git a/templates/logged_in.html b/templates/logged_in.html index 123d5bf..57b2e81 100644 --- a/templates/logged_in.html +++ b/templates/logged_in.html @@ -82,7 +82,7 @@