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
1 changed files with 4 additions and 1 deletions
|
@ -159,11 +159,14 @@ class SendActionThread(threading.Thread):
|
|||
cmd.append('--write')
|
||||
if self.debug:
|
||||
cmd.append('--verbose')
|
||||
print(cmd)
|
||||
if HAS_SSL:
|
||||
wakatime.main(cmd)
|
||||
if self.debug:
|
||||
print(cmd)
|
||||
else:
|
||||
cmd.insert(0, python_binary())
|
||||
if self.debug:
|
||||
print(cmd)
|
||||
if platform.system() == 'Windows':
|
||||
Popen(cmd, shell=False)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue