Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
-
1f2131e8
by wurstsalat at 2021-06-30T16:06:03+02:00
1 changed file:
Changes:
| ... | ... | @@ -88,7 +88,7 @@ def pass_disco(self, info): |
| 88 | 88 |
|
| 89 | 89 |
def make_transfer(self, path, encryption, contact, groupchat=False):
|
| 90 | 90 |
if not path or not os.path.exists(path):
|
| 91 |
- return None
|
|
| 91 |
+ raise FileError(_('Could not access file'))
|
|
| 92 | 92 |
|
| 93 | 93 |
invalid_file = False
|
| 94 | 94 |
stat = os.stat(path)
|