Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
5daf0b09
Commit
5daf0b09
authored
Jan 22, 2016
by
Saul Ibarra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't rely on a failed transfer reason being set
parent
50d0b99c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
sessions.py
blink/sessions.py
+5
-1
No files found.
blink/sessions.py
View file @
5daf0b09
...
@@ -3793,7 +3793,11 @@ class BlinkFileTransfer(object):
...
@@ -3793,7 +3793,11 @@ class BlinkFileTransfer(object):
call_later
(
3
,
self
.
sip_session
.
end
)
call_later
(
3
,
self
.
sip_session
.
end
)
else
:
else
:
self
.
sip_session
.
end
()
self
.
sip_session
.
end
()
self
.
_terminate
(
failure_reason
=
notification
.
data
.
reason
)
if
notification
.
data
.
error
:
failure_reason
=
notification
.
data
.
reason
or
'Failed'
else
:
failure_reason
=
None
self
.
_terminate
(
failure_reason
=
failure_reason
)
class
TransferStateLabel
(
QLabel
,
ColorHelperMixin
):
class
TransferStateLabel
(
QLabel
,
ColorHelperMixin
):
...
...
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