~team customizations

This commit is contained in:
tilde services 2018-07-26 10:39:37 -04:00
parent b1c79e582b
commit 13816f1d80
2 changed files with 7 additions and 4 deletions

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
__pycache__/
.py[cod]
db.sqlite
up/
*.pyc

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
from flask import Flask, abort, escape, make_response, redirect, request, send_from_directory, url_for, Response
@ -46,7 +46,7 @@ app.config["FHOST_MIME_BLACKLIST"] = [
app.config["FHOST_UPLOAD_BLACKLIST"] = "tornodes.txt"
app.config["NSFW_DETECT"] = True
app.config["NSFW_DETECT"] = False
app.config["NSFW_THRESHOLD"] = 0.608
if app.config["NSFW_DETECT"]:
@ -390,8 +390,8 @@ retention = min_age + (-max_age + min_age) * pow((file_size / max_size - 1), 3)
ABUSE
-----
If you would like to request permanent deletion, please contact lachs0r via
IRC on Freenode, or send an email to lachs0r@(this domain).
If you would like to request permanent deletion, please contact ben or khuxkm via
IRC on tilde.chat, or send an email to sudoers@tilde.team.
Please allow up to 24 hours for a response.
</pre>