diff --git a/parsers/logbooks.py b/parsers/logbooks.py index ad06c8e..ee9a18d 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -329,7 +329,7 @@ def LoadLogbooks(): """ This is the master function for parsing all logbooks into the Troggle database. """ # Clear the logbook data issues as we are reloading - models.DataIssue.filter(parser='logbooks').delete() + models.DataIssue.objects.filter(parser='logbooks').delete() # Fetch all expos expos = models.Expedition.objects.all() for expo in expos: