From 1baf528d0aa78711fcdccebcc406b39ef62255b3 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 5 Aug 2023 23:30:46 +0300 Subject: [PATCH] better msg --- core/models/wallets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/models/wallets.py b/core/models/wallets.py index ecf442c..1bff911 100644 --- a/core/models/wallets.py +++ b/core/models/wallets.py @@ -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: