|
|
@ -17,9 +17,7 @@ config.read('settings.cfg')
|
|
|
|
|
|
|
|
|
|
|
|
log = logging.getLogger('irc.client')
|
|
|
|
log = logging.getLogger('irc.client')
|
|
|
|
log.addHandler(logging.StreamHandler())
|
|
|
|
log.addHandler(logging.StreamHandler())
|
|
|
|
|
|
|
|
log.setLevel(logging.DEBUG if bool(int(os.getenv('DEBUG', 0))) else logging.INFO)
|
|
|
|
if os.getenv('DEBUG', False):
|
|
|
|
|
|
|
|
log.setLevel(logging.DEBUG)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QUOTE_ADDED_PATTERN = re.compile(r'''^
|
|
|
|
QUOTE_ADDED_PATTERN = re.compile(r'''^
|
|
|
|