Compare commits
No commits in common. "e21ae464e2bbe5a76fd87fc7ad59b9d47833f67b" and "333424025b9e14e6d6f748e973cb089a2717e524" have entirely different histories.
e21ae464e2
...
333424025b
@ -55,7 +55,6 @@ INSTALLED_APPS = (
|
||||
MIDDLEWARE = (
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'whitenoise.middleware.WhiteNoiseMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||
@ -146,9 +145,6 @@ BOOTSTRAP3 = {
|
||||
'javascript_in_head': True,
|
||||
}
|
||||
|
||||
# whitenoise
|
||||
STATIC_PATH = os.path.join(BASE_DIR, 'staticfiles')
|
||||
|
||||
###############
|
||||
# web options #
|
||||
###############
|
||||
|
||||
@ -158,7 +158,7 @@ class DrReactor(irc.client.Reactor):
|
||||
|
||||
# ignore the first word, a nick, if the speaker is the bridge
|
||||
try:
|
||||
channel = IrcChannel.objects.get(server=connection.server_config, name=sent_location)
|
||||
channel = IrcChannel.objects.get(name=sent_location)
|
||||
if sender_nick == channel.discord_bridge:
|
||||
short_what = ' '.join(what.split(' ')[1:])
|
||||
match = re.match(addressed_pattern, short_what, re.IGNORECASE)
|
||||
|
||||
@ -224,8 +224,6 @@ wheel==0.38.4
|
||||
# via
|
||||
# pip-tools
|
||||
# tox-wheel
|
||||
whitenoise==6.7.0
|
||||
# via -r requirements/requirements.in
|
||||
zalgo-text==0.6
|
||||
# via -r requirements/requirements.in
|
||||
|
||||
|
||||
@ -9,5 +9,4 @@ ply # dice lex/yacc compiler
|
||||
python-dateutil # countdown relative math
|
||||
python-mpd2 # client for mpd
|
||||
pytz # timezone awareness
|
||||
whitenoise # easier static files
|
||||
zalgo-text # zalgoify text
|
||||
|
||||
@ -78,7 +78,5 @@ tempora==5.2.1
|
||||
# jaraco-logging
|
||||
typing-extensions==4.5.0
|
||||
# via pydantic
|
||||
whitenoise==6.7.0
|
||||
# via -r requirements/requirements.in
|
||||
zalgo-text==0.6
|
||||
# via -r requirements/requirements.in
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user