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():
|
||||
try:
|
||||
multiprocessing.set_start_method('spawn')
|
||||
except RuntimeError:
|
||||
pass
|
||||
parse_arguments()
|
||||
|
||||
logging.basicConfig(
|
||||
|
|
Loading…
Reference in New Issue
Block a user