Fix PID file if not daemonized

This commit is contained in:
Peter Šurda 2017-12-29 09:13:41 +01:00
parent e9b1aa48a9
commit bcc5a210a4
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -31,7 +31,7 @@ class singleinstance:
import bitmessageqt
bitmessageqt.init()
self.lock()
self.lock(not daemon)
self.initialized = True
atexit.register(self.cleanup)