diff --git a/couchpotato/environment.py b/couchpotato/environment.py index 7fe691e8..53cb5408 100644 --- a/couchpotato/environment.py +++ b/couchpotato/environment.py @@ -80,6 +80,6 @@ class Env(object): parent = os.getppid() except: parent = None - return '%d %s' % (os.getpid(), '(%d)' % parent if parent else '') + return '%d %s' % (os.getpid(), '(%d)' % parent if parent and parent > 1 else '') except: return 0