Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben committed Feb 2, 2022
1 parent cbcea0a commit cdcd48b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion module/connect_to_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ def get(image_file, domain, title, singer, album):
import json
import os
from html import unescape

import werkzeug.utils
import requests

image_file = werkzeug.utils.secure_filename(ast.literal_eval(image_file))

api = f"http://{domain}:7873/bGVhdmVfcmlnaHRfbm93"

with open(image_file, "rb") as f:
Expand Down

0 comments on commit cdcd48b

Please sign in to comment.