Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/isida/vi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'isida.py')
-rw-r--r--isida.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/isida.py b/isida.py
index b514ac6..964d2c0 100644
--- a/isida.py
+++ b/isida.py
@@ -109,7 +109,9 @@ if __name__ == "__main__":
crash('Multilaunch detected! Kill pid %s before launch bot again!' % last_pid)
except:
SM = '\n'.join(str(t) for t in sys.exc_info())
- if 'ProcessLookupError' not in SM:
+ if 'No such process' in SM:
+ pass
+ elif 'ProcessLookupError' not in SM:
crash('Unknown exception!\n%s' % SM)
writefile(pid_file,str(PID))