I with push my head through a conrete wall

I hate Joins
This commit is contained in:
Michał Gdula 2023-03-05 18:16:28 +00:00
parent 0a27d79a82
commit 91278e2d11
10 changed files with 180 additions and 187 deletions

View file

@ -133,7 +133,7 @@ def upload():
# Get metadata and colors
img_exif = mt.Metadata(img_path).yoink()
img_colors = ColorThief(img_path).get_palette(color_count=3)
# Save to database
try:
query = db.Posts(author_id = g.user.id,