fixed logging after upload
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2020-09-30 06:27:26 +02:00
parent 3ea6f02306
commit 2fd833775a

View File

@ -37,6 +37,6 @@ class SoundSender(AbcSender):
} }
r = requests.post(config.API_URL + "/sample", files=files) r = requests.post(config.API_URL + "/sample", files=files)
logging.info("Content: ", r.content) logging.debug(f"Content: {r.content.decode()}")
logging.info("Headers:", r.headers) logging.debug(f"Headers: {r.headers}")
r.raise_for_status() r.raise_for_status()