mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
I with push my head through a conrete wall
I hate Joins
This commit is contained in:
parent
0a27d79a82
commit
91278e2d11
10 changed files with 180 additions and 187 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue