fix pid:: int
This commit is contained in:
parent
6e9e512ccc
commit
f7da682e33
@ -129,7 +129,7 @@ class Openvpn:
|
||||
await asyncio.sleep(1)
|
||||
got_pid = False
|
||||
try:
|
||||
self.PID = open(self.pid_fp, "r").read()
|
||||
self.PID = int(open(self.pid_fp, "r").read())
|
||||
got_pid = True
|
||||
except:
|
||||
got_pid = False
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user