Browse Source

convert string to byte-string

matteobonamassa 4 years ago
parent
commit
5e46172ae6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      xfreerdpctl

+ 1 - 1
xfreerdpctl

@@ -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