mirror of
https://github.com/aljazceru/Image-Quote-Generator.git
synced 2025-12-19 15:04:24 +01:00
Update post_handler.py
This commit is contained in:
@@ -7,7 +7,7 @@ from string import ascii_letters
|
|||||||
|
|
||||||
from PIL import Image, ImageDraw, ImageFont, ImageFilter, ImageEnhance
|
from PIL import Image, ImageDraw, ImageFont, ImageFilter, ImageEnhance
|
||||||
|
|
||||||
import helper_images
|
import helper
|
||||||
import json_handler
|
import json_handler
|
||||||
|
|
||||||
|
|
||||||
@@ -17,8 +17,8 @@ def create_dirs(output_folder, customer_name):
|
|||||||
if not os.path.exists(output_path):
|
if not os.path.exists(output_path):
|
||||||
os.makedirs(output_path)
|
os.makedirs(output_path)
|
||||||
# Create folder inside for images
|
# Create folder inside for images
|
||||||
if not os.path.exists(f"{output_path}/verse_images"):
|
# if not os.path.exists(f"{output_path}/verse_images"):
|
||||||
os.makedirs(f"{output_path}/verse_images")
|
# os.makedirs(f"{output_path}/verse_images")
|
||||||
return output_path
|
return output_path
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user