Not sure where that import went.
This commit is contained in:
parent
634cb564b0
commit
e47c52c998
3
beau.py
3
beau.py
|
|
@ -1,6 +1,7 @@
|
||||||
import json
|
import json
|
||||||
import platform
|
import platform
|
||||||
import sublime_plugin
|
import sublime_plugin
|
||||||
|
from threading import Thread
|
||||||
from http.client import responses
|
from http.client import responses
|
||||||
from sublime import load_settings, active_window
|
from sublime import load_settings, active_window
|
||||||
from subprocess import check_output
|
from subprocess import check_output
|
||||||
|
|
@ -24,7 +25,7 @@ class BeauCommand(sublime_plugin.TextCommand):
|
||||||
onComplete(proc)
|
onComplete(proc)
|
||||||
return
|
return
|
||||||
|
|
||||||
thread = threading.Thread(target=thread, args=(command, onComplete))
|
thread = Thread(target=thread, args=(command, onComplete))
|
||||||
thread.start()
|
thread.start()
|
||||||
|
|
||||||
return thread
|
return thread
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue