summaryrefslogtreecommitdiffstats
path: root/core/views
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-01-21 14:47:01 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-01-21 14:47:01 +0000
commit8ac3791fcf86bb6ac6e75b75f386550095827d31 (patch)
treec048c0493a3e8b48ba6dd9a35c9dd55b3a264e20 /core/views
parentb59ab47bc2cf7f57d54e33a2a9fb0de0b9b22be1 (diff)
downloadtroggle-8ac3791fcf86bb6ac6e75b75f386550095827d31.tar.gz
troggle-8ac3791fcf86bb6ac6e75b75f386550095827d31.tar.bz2
troggle-8ac3791fcf86bb6ac6e75b75f386550095827d31.zip
fix bad warning message
Diffstat (limited to 'core/views')
-rw-r--r--core/views/wallets_edit.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/views/wallets_edit.py b/core/views/wallets_edit.py
index f26a26c..990824c 100644
--- a/core/views/wallets_edit.py
+++ b/core/views/wallets_edit.py
@@ -185,7 +185,8 @@ def get_complaints(complaints, waldata, svxfiles, files, wallet, wurl):
# QSsvxfiles[0] # dont' know how this happened, fix later..
except:
file_complaint = (
- f"{wallet} Survex file {sx} exists, but is not registered in the database {sxpath}. How?.."
+ f"{wallet} Survex file {sx} exists, but is not registered in the database {sxpath}. How?!.." +
+ f"\nOK, no need to do a database reset. To fix this, open and save the survex file. This will register it in the live database."
)
complaints.append(file_complaint)
message = f"! {file_complaint}"
@@ -627,7 +628,7 @@ def walletedit(request, path=None):
names.extend(n)
team.extend(t)
except:
- message = f"Exception wallet handling for {fpath} '{svxfile.cave}' "
+ message = f"Exception wallet handling for {fpath} invalid survex file link "
print(message)
# This failure will also get picked up by the "S" colour code red or orange