mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 01:57:13 +00:00
fix bad warning message
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user