From 830da3593dfad1e0c44680bdd582a3bd88946f7c Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 15 Aug 2021 21:17:44 +0200 Subject: Remove THUMB_DIRECTORY check from fbin.py We do this in the filesystem storage module instead. --- fbin/fbin.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'fbin') 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: -- cgit v1.2.3