Catch RuntimeError for multiple invocation of main()
This commit is contained in:
parent
e505ea2047
commit
5804d2b2db
|
@ -263,7 +263,10 @@ def start_i2p_listener():
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
multiprocessing.set_start_method('spawn')
|
try:
|
||||||
|
multiprocessing.set_start_method('spawn')
|
||||||
|
except RuntimeError:
|
||||||
|
pass
|
||||||
parse_arguments()
|
parse_arguments()
|
||||||
|
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user