Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gajim-plugins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
56
Issues
56
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim-plugins
Commits
b2364766
Commit
b2364766
authored
Apr 05, 2017
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[httpupload] Fail on missing python-cryptography
parent
d7941e9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
httpupload/httpupload.py
httpupload/httpupload.py
+7
-2
No files found.
httpupload/httpupload.py
View file @
b2364766
...
...
@@ -277,8 +277,6 @@ class Base(object):
del
self
.
chat_control
.
handlers
[
self
.
keypress_id
]
def
encryption_activated
(
self
):
if
not
encryption_available
:
return
False
jid
=
self
.
chat_control
.
contact
.
jid
account
=
self
.
chat_control
.
account
for
plugin
in
gajim
.
plugin_manager
.
active_plugins
:
...
...
@@ -299,6 +297,13 @@ class Base(object):
log
.
debug
(
e
)
self
.
encrypted_upload
=
False
if
self
.
encrypted_upload
and
not
encryption_available
:
ErrorDialog
(
_
(
'Error'
),
'Please install python-cryptography for encrypted uploads'
,
transient_for
=
self
.
chat_control
.
parent_win
.
window
)
return
if
not
path_to_file
:
path_to_file
=
self
.
dlg
.
get_filename
()
if
not
path_to_file
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment