mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Pylinty
This commit is contained in:
parent
e69ac64855
commit
e3c25a5241
3 changed files with 3 additions and 6 deletions
|
@ -1,11 +1,10 @@
|
|||
"""
|
||||
Tools for generating images and thumbnails
|
||||
"""
|
||||
|
||||
import os
|
||||
from PIL import Image, ImageOps
|
||||
from onlylegs.config import MEDIA_FOLDER, CACHE_FOLDER
|
||||
from werkzeug.utils import secure_filename
|
||||
from onlylegs.config import MEDIA_FOLDER, CACHE_FOLDER
|
||||
|
||||
|
||||
def generate_thumbnail(file_path, resolution, ext=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue