mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 18:37:18 +00:00
rename scansfolder to wallet
This commit is contained in:
@@ -86,7 +86,7 @@ class LoadingSurvex():
|
||||
"""A 'survex block' is a *begin...*end set of cave data.
|
||||
A survex file can contain many begin-end blocks, which can be nested, and which can *include
|
||||
other survex files.
|
||||
A 'scansfolder' is what we today call a "survey scans folder" or a "wallet".
|
||||
A 'scanswallet' is what we today call a "survey scans folder" or a "wallet".
|
||||
"""
|
||||
rx_begin = re.compile(r'(?i)begin')
|
||||
rx_end = re.compile(r'(?i)end$')
|
||||
@@ -475,7 +475,7 @@ class LoadingSurvex():
|
||||
DataIssue.objects.create(parser='survex', message=message)
|
||||
manywallets = Wallet.objects.filter(walletname=refscan)
|
||||
if manywallets:
|
||||
survexblock.scansfolder = manywallets[0] # this is a ForeignKey field
|
||||
survexblock.scanswallet = manywallets[0] # this is a ForeignKey field
|
||||
print(manywallets[0])
|
||||
survexblock.save()
|
||||
if len(manywallets) > 1:
|
||||
|
||||
Reference in New Issue
Block a user