fix pid:: int
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user