diff options
| author | rubenwardy <rw@rubenwardy.com> | 2020-01-18 01:38:00 +0000 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2020-01-18 01:38:00 +0000 |
| commit | 077bdeb01c5725344d871705f2bd97df4ff96bef (patch) | |
| tree | a86491032501d23c3ac1a6bafa54730357a158ff /app/blueprints/thumbnails | |
| parent | 095494f96f00b33dc9e956b094105c49b5bc558b (diff) | |
| download | cheatdb-077bdeb01c5725344d871705f2bd97df4ff96bef.tar.xz | |
Add reloading support to Docker container
Diffstat (limited to 'app/blueprints/thumbnails')
| -rw-r--r-- | app/blueprints/thumbnails/__init__.py | 2 |
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) |
