From 3fe4e1fd2513211b89062249e886c4005e7f7342 Mon Sep 17 00:00:00 2001 From: deix Date: Mon, 28 Aug 2017 19:13:25 +0200 Subject: [PATCH] And another comparisons to singletons.. --- py/Process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/Process.py b/py/Process.py index d220826..622fb50 100644 --- a/py/Process.py +++ b/py/Process.py @@ -58,7 +58,7 @@ class Process(object): def __init__(self, command, devnull=False, stdout=PIPE, stderr=PIPE, cwd=None, bufsize=0): ''' Starts executing command ''' - if type(command) == str: + if type(command) is str: # Commands have to be a list command = command.split(' ')