2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11: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: if not self.fpath:
files.append(f"Incorrect path to wallet contents: '{self.fpath}'") files.append(f"Incorrect path to wallet contents: '{self.fpath}'")
return files return files
if not dirpath.is_dir(): if not dirpath.is_dir():
files.append(f"Incorrect path to wallet contents: '{self.fpath}'") files.append(f"No uploaded scans or incorrect path to wallet contents")
return files return files
else: else:
try: try: