3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +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
try:
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:
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 "