2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

better msg

This commit is contained in:
Philip Sargent 2023-08-05 23:30:46 +03:00
parent 99ff7c741b
commit 1baf528d0a

View File

@ -186,8 +186,8 @@ class Wallet(models.Model):
if not self.fpath:
files.append(f"Incorrect path to wallet contents: '{self.fpath}'")
return files
if not dirpath.is_dir():
files.append(f"Incorrect path to wallet contents: '{self.fpath}'")
if not dirpath.is_dir():
files.append(f"No uploaded scans or incorrect path to wallet contents")
return files
else:
try: