forked from expo/troggle
Fixing non-null error, even though it should be allowed
This commit is contained in:
@@ -149,9 +149,11 @@ def readcaves():
|
||||
|
||||
with transaction.atomic():
|
||||
print(" - Deleting Caves and Entrances")
|
||||
Area.objects.all().delete()
|
||||
Cave.objects.all().delete()
|
||||
Entrance.objects.all().delete()
|
||||
# Clear the cave data issues and the caves as we are reloading
|
||||
DataIssue.objects.filter(parser='areas').delete()
|
||||
DataIssue.objects.filter(parser='caves').delete()
|
||||
DataIssue.objects.filter(parser='caves ok').delete()
|
||||
DataIssue.objects.filter(parser='entrances').delete()
|
||||
|
||||
Reference in New Issue
Block a user