summaryrefslogtreecommitdiff
path: root/fbin
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2021-08-15 21:17:44 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2021-08-15 21:17:44 +0200
commit830da3593dfad1e0c44680bdd582a3bd88946f7c (patch)
treed8a45d3c0397fd89ec2fe585ac412320ae8a66ca /fbin
parent07dbe97b697d18f10c5b26227fdc37ee74b08fcd (diff)
Remove THUMB_DIRECTORY check from fbin.py
We do this in the filesystem storage module instead.
Diffstat (limited to 'fbin')
-rwxr-xr-xfbin/fbin.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/fbin/fbin.py b/fbin/fbin.py
index d0a5a9a..04811c0 100755
--- a/fbin/fbin.py
+++ b/fbin/fbin.py
@@ -28,9 +28,6 @@ monkey_patch()
base62_alphabet = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
-if not os.path.isdir(current_app.config['THUMB_DIRECTORY']):
- os.mkdir(current_app.config['THUMB_DIRECTORY'])
-
def get_or_create_user(username, jab_id):
try: