aboutsummaryrefslogtreecommitdiff
path: root/app/blueprints/thumbnails
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-01-18 01:38:00 +0000
committerrubenwardy <rw@rubenwardy.com>2020-01-18 01:38:00 +0000
commit077bdeb01c5725344d871705f2bd97df4ff96bef (patch)
treea86491032501d23c3ac1a6bafa54730357a158ff /app/blueprints/thumbnails
parent095494f96f00b33dc9e956b094105c49b5bc558b (diff)
downloadcheatdb-077bdeb01c5725344d871705f2bd97df4ff96bef.tar.xz
Add reloading support to Docker container
Diffstat (limited to 'app/blueprints/thumbnails')
-rw-r--r--app/blueprints/thumbnails/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/blueprints/thumbnails/__init__.py b/app/blueprints/thumbnails/__init__.py
index 820d228..109cc0c 100644
--- a/app/blueprints/thumbnails/__init__.py
+++ b/app/blueprints/thumbnails/__init__.py
@@ -25,7 +25,7 @@ from PIL import Image
ALLOWED_RESOLUTIONS=[(100,67), (270,180), (350,233)]
def mkdir(path):
- assert(path != "" and path is not None)
+ assert path != "" and path is not None
if not os.path.isdir(path):
os.mkdir(path)