Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
325c2572 by Daniel Brötzmann at 2022-05-05T12:24:32+00:00
fix: Pass error message correctly for HTTP Upload transfer error
Fixes #10841
- - - - -
1 changed file:
- gajim/gui_interface.py
Changes:
=====================================
gajim/gui_interface.py
=====================================
@@ -366,7 +366,7 @@ def _send_httpupload(self, chat_control: ControlT, path:
str) -> None:
chat_control.contact,
chat_control.is_groupchat)
except exceptions.FileError as error:
- ErrorDialog(_('Could not Open File'), error)
+ ErrorDialog(_('Could not Open File'), str(error))
return
transfer.connect('cancel', self._on_cancel_upload)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/325c257290e4590da23eb00df4a58df0f6c5053d
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/325c257290e4590da23eb00df4a58df0f6c5053d
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits