From ce50a1c27da5ebe3b38adfdc363eda5f7254941f Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 19 Jun 2019 21:37:42 +0000 Subject: [PATCH] Fix allready running handling for Python3. #1626 --- core/utils/processes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/utils/processes.py b/core/utils/processes.py index 23bb7a92..56882757 100644 --- a/core/utils/processes.py +++ b/core/utils/processes.py @@ -54,7 +54,7 @@ class PosixProcess(object): self.lasterror = False return self.lasterror except socket.error as e: - if 'Address already in use' in e: + if 'Address already in use' in str(e): self.lasterror = True return self.lasterror except AttributeError: