forked from expo/troggle
detect non-ISO dates in JSON and from user and fix
This commit is contained in:
@@ -27,7 +27,7 @@ def import_people():
|
||||
troggle.parsers.people.load_people_expos()
|
||||
|
||||
def import_surveyscans():
|
||||
print("-- Importing Survey Scans")
|
||||
print("-- Importing Survey Scans and Wallets")
|
||||
with transaction.atomic():
|
||||
troggle.parsers.scans.load_all_scans()
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ def load_all_scans():
|
||||
Wallet.objects.all().delete()
|
||||
print(" - deleting all Wallet and SingleScan objects")
|
||||
DataIssue.objects.filter(parser="scans").delete()
|
||||
DataIssue.objects.filter(parser="wallets").delete()
|
||||
|
||||
# These are valid old file types to be visible, they are not necessarily allowed to be uploaded to a new wallet.
|
||||
valids = [
|
||||
|
||||
Reference in New Issue
Block a user