|
@@ -71,7 +71,7 @@ class Host(Thread):
|
|
|
def status(self):
|
|
|
statuscmd = "ps aux | grep 'xfreerdp' | grep -v grep"
|
|
|
ssh = self.sshcommand(statuscmd)
|
|
|
- result = [ l for l in ssh.stdout.readlines() if '/usr/bin/xfreerdp /cert-ignore /f /v:tolab.fisica.unimi.it' in l ]
|
|
|
+ result = [ l for l in ssh.stdout.readlines() if b'/usr/bin/xfreerdp /cert-ignore /f /v:tolab.fisica.unimi.it' in l ]
|
|
|
|
|
|
if result == []:
|
|
|
return False
|