3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +01:00

pylink: oops, re-add world.testing = False

This commit is contained in:
James Lu 2016-06-22 19:23:06 -07:00
parent 8969cfb74e
commit 377c09fe66

3
pylink
View File

@ -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 "