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')
|
||||
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 New Issue
Block a user