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
856b5c21
Commit
856b5c21
authored
Jan 13, 2016
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PEP-8 compliance
parent
9b463bef
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
blink
bin/blink
+1
-1
sessions.py
blink/sessions.py
+1
-0
No files found.
bin/blink
View file @
856b5c21
...
@@ -8,7 +8,7 @@ import sys
...
@@ -8,7 +8,7 @@ import sys
script
=
globals
()
.
get
(
'__file__'
,
sys
.
argv
[
0
])
script
=
globals
()
.
get
(
'__file__'
,
sys
.
argv
[
0
])
script_dir
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
script
))
script_dir
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
script
))
parent_dir
=
os
.
path
.
dirname
(
script_dir
)
parent_dir
=
os
.
path
.
dirname
(
script_dir
)
if
os
.
path
.
basename
(
script_dir
)
==
'bin'
and
os
.
path
.
exists
(
os
.
path
.
join
(
parent_dir
,
'blink'
,
'__init__.py'
)):
if
os
.
path
.
basename
(
script_dir
)
==
'bin'
and
os
.
path
.
exists
(
os
.
path
.
join
(
parent_dir
,
'blink'
,
'__init__.py'
)):
# Insert the parent path just before the existing script's path. We need
# Insert the parent path just before the existing script's path. We need
# to do this in order to work with debuggers which insert their own paths
# to do this in order to work with debuggers which insert their own paths
# at the beginning. The script's path is the last Python itself inserted
# at the beginning. The script's path is the last Python itself inserted
...
...
blink/sessions.py
View file @
856b5c21
...
@@ -3784,6 +3784,7 @@ class BlinkFileTransfer(object):
...
@@ -3784,6 +3784,7 @@ class BlinkFileTransfer(object):
def
_NH_FileTransferHandlerProgress
(
self
,
notification
):
def
_NH_FileTransferHandlerProgress
(
self
,
notification
):
notification
.
center
.
post_notification
(
'BlinkFileTransferProgress'
,
sender
=
self
,
data
=
NotificationData
(
bytes
=
notification
.
data
.
transferred_bytes
,
notification
.
center
.
post_notification
(
'BlinkFileTransferProgress'
,
sender
=
self
,
data
=
NotificationData
(
bytes
=
notification
.
data
.
transferred_bytes
,
total_bytes
=
notification
.
data
.
total_bytes
))
total_bytes
=
notification
.
data
.
total_bytes
))
def
_NH_FileTransferHandlerDidEnd
(
self
,
notification
):
def
_NH_FileTransferHandlerDidEnd
(
self
,
notification
):
if
self
.
direction
==
'incoming'
:
if
self
.
direction
==
'incoming'
:
call_later
(
3
,
self
.
sip_session
.
end
)
call_later
(
3
,
self
.
sip_session
.
end
)
...
...
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