Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
1f2131e8 by wurstsalat at 2021-06-30T16:06:03+02:00
HTTPUpload: Raise FileError if path is not accessible
Fixes #10560
- - - - -
1 changed file:
- gajim/common/modules/httpupload.py
Changes:
=====================================
gajim/common/modules/httpupload.py
=====================================
@@ -88,7 +88,7 @@ def pass_disco(self, info):
def make_transfer(self, path, encryption, contact, groupchat=False):
if not path or not os.path.exists(path):
- return None
+ raise FileError(_('Could not access file'))
invalid_file = False
stat = os.stat(path)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/1f2131e8d85bc63580e4b2a146683d02…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/1f2131e8d85bc63580e4b2a146683d02…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch mainwindow at gajim / gajim
Commits:
49655930 by wurstsalat at 2021-06-12T11:30:02+02:00
Preview: Mute logging for netloc discovery
- - - - -
1 changed file:
- gajim/common/preview.py
Changes:
=====================================
gajim/common/preview.py
=====================================
@@ -167,7 +167,6 @@ def _accept_uri(urlparts, uri, additional_data):
return True
if not urlparts.netloc:
- log.info('No netloc found in URL: %s', uri)
return False
# aesgcm
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/49655930ff2aeaca5e78d0938bd86a0c…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/49655930ff2aeaca5e78d0938bd86a0c…
You're receiving this email because of your account on dev.gajim.org.