mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
printing python binary in command to Sublime Console when in debug mode, unless has SSL support
This commit is contained in:
parent
0b9fcbd96c
commit
65094ecf74
@ -159,11 +159,14 @@ class SendActionThread(threading.Thread):
|
|||||||
cmd.append('--write')
|
cmd.append('--write')
|
||||||
if self.debug:
|
if self.debug:
|
||||||
cmd.append('--verbose')
|
cmd.append('--verbose')
|
||||||
print(cmd)
|
|
||||||
if HAS_SSL:
|
if HAS_SSL:
|
||||||
wakatime.main(cmd)
|
wakatime.main(cmd)
|
||||||
|
if self.debug:
|
||||||
|
print(cmd)
|
||||||
else:
|
else:
|
||||||
cmd.insert(0, python_binary())
|
cmd.insert(0, python_binary())
|
||||||
|
if self.debug:
|
||||||
|
print(cmd)
|
||||||
if platform.system() == 'Windows':
|
if platform.system() == 'Windows':
|
||||||
Popen(cmd, shell=False)
|
Popen(cmd, shell=False)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user