mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 10:17:47 +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..
|
# QSsvxfiles[0] # dont' know how this happened, fix later..
|
||||||
except:
|
except:
|
||||||
file_complaint = (
|
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)
|
complaints.append(file_complaint)
|
||||||
message = f"! {file_complaint}"
|
message = f"! {file_complaint}"
|
||||||
@@ -627,7 +628,7 @@ def walletedit(request, path=None):
|
|||||||
names.extend(n)
|
names.extend(n)
|
||||||
team.extend(t)
|
team.extend(t)
|
||||||
except:
|
except:
|
||||||
message = f"Exception wallet handling for {fpath} '{svxfile.cave}' "
|
message = f"Exception wallet handling for {fpath} invalid survex file link "
|
||||||
print(message)
|
print(message)
|
||||||
# This failure will also get picked up by the "S" colour code red or orange
|
# This failure will also get picked up by the "S" colour code red or orange
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user