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')
|
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 a new issue