mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
parent
638b9dc84a
commit
e7e2f2c98e
@ -20,7 +20,7 @@ from collections import defaultdict, deque
|
||||
try:
|
||||
import ircmatch
|
||||
except ImportError:
|
||||
raise ImportError("Please install the ircmatch library and try again.")
|
||||
raise ImportError("PyLink requires ircmatch to function; please install it and try again.")
|
||||
|
||||
from . import world, utils, structures, __version__
|
||||
from .log import *
|
||||
|
2
conf.py
2
conf.py
@ -8,7 +8,7 @@ It provides simple checks for validating and loading YAML-format configurations
|
||||
try:
|
||||
import yaml
|
||||
except ImportError:
|
||||
raise ImportError("Please install PyYAML and try again.")
|
||||
raise ImportError("PyLink requires PyYAML to function; please install it and try again.")
|
||||
|
||||
import sys
|
||||
import os.path
|
||||
|
@ -4,7 +4,11 @@ login.py - Implement core login abstraction.
|
||||
|
||||
from pylinkirc import conf, utils, world
|
||||
from pylinkirc.log import log
|
||||
from passlib.context import CryptContext
|
||||
|
||||
try:
|
||||
from passlib.context import CryptContext
|
||||
except ImportError:
|
||||
raise ImportError("PyLink requires passlib to function; please install it and try again.")
|
||||
|
||||
pwd_context = CryptContext(["sha512_crypt", "sha256_crypt"],
|
||||
all__vary_rounds=0.1,
|
||||
|
Loading…
Reference in New Issue
Block a user