parent
1832d44da1
commit
e9608a6aea
@ -29,6 +29,7 @@ import hashlib
|
|||||||
from PyQt5.QtCore import pyqtSignal, pyqtSlot, QObject
|
from PyQt5.QtCore import pyqtSignal, pyqtSlot, QObject
|
||||||
from PyQt5.QtNetwork import QLocalSocket, QLocalServer, QAbstractSocket
|
from PyQt5.QtNetwork import QLocalSocket, QLocalServer, QAbstractSocket
|
||||||
|
|
||||||
|
import qutebrowser
|
||||||
from qutebrowser.utils import log, usertypes, error, objreg
|
from qutebrowser.utils import log, usertypes, error, objreg
|
||||||
|
|
||||||
|
|
||||||
@ -306,7 +307,7 @@ def send_to_running_instance(socketname, command, *, socket=None):
|
|||||||
connected = socket.waitForConnected(100)
|
connected = socket.waitForConnected(100)
|
||||||
if connected:
|
if connected:
|
||||||
log.ipc.info("Opening in existing instance")
|
log.ipc.info("Opening in existing instance")
|
||||||
json_data = {'args': command}
|
json_data = {'args': command, 'version': qutebrowser.__version__}
|
||||||
try:
|
try:
|
||||||
cwd = os.getcwd()
|
cwd = os.getcwd()
|
||||||
except OSError:
|
except OSError:
|
||||||
|
Loading…
Reference in New Issue
Block a user