mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +01:00
pylink: oops, re-add world.testing = False
This commit is contained in:
parent
8969cfb74e
commit
377c09fe66
3
pylink
3
pylink
@ -4,6 +4,9 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
try:
|
try:
|
||||||
from pylinkirc import world, conf
|
from pylinkirc import world, conf
|
||||||
|
# This must be set to False to disable test mode and enable threaded connections.
|
||||||
|
# Otherwise you'll only be able to connect to one net at a time! Which is boring.
|
||||||
|
world.testing = False
|
||||||
except ImportError:
|
except ImportError:
|
||||||
sys.stderr.write("ERROR: Failed to import PyLink main module (pylinkirc.world).\n\nIf you are "
|
sys.stderr.write("ERROR: Failed to import PyLink main module (pylinkirc.world).\n\nIf you are "
|
||||||
"running PyLink from source, please install PyLink first using 'python3 "
|
"running PyLink from source, please install PyLink first using 'python3 "
|
||||||
|
Loading…
Reference in New Issue
Block a user