mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
print to console when existing copy running
This commit is contained in:
parent
dd9f1c53be
commit
e367d04a08
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ class AnkiApp(QApplication):
|
||||||
self.connect(self._srv, SIGNAL("newConnection()"), self.onRecv)
|
self.connect(self._srv, SIGNAL("newConnection()"), self.onRecv)
|
||||||
self._srv.listen(self.KEY)
|
self._srv.listen(self.KEY)
|
||||||
else:
|
else:
|
||||||
|
print "Raising existing window."
|
||||||
# we accept only one command line argument. if it's missing, send
|
# we accept only one command line argument. if it's missing, send
|
||||||
# a blank screen to just raise the existing window
|
# a blank screen to just raise the existing window
|
||||||
opts, args = parseArgs(self._argv)
|
opts, args = parseArgs(self._argv)
|
||||||
|
|
Loading…
Reference in a new issue