diff --git a/app/models.py b/app/models.py index 3ccb3022..d3b44a99 100644 --- a/app/models.py +++ b/app/models.py @@ -1215,7 +1215,7 @@ class Report(db.Model): return types[self.type] def is_local(self): - return self.source_instance == 1 + return self.source_instance_id == 1 class IpBan(db.Model):