dont print
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-11-29 19:15:12 +01:00
parent 2e31e99aae
commit fbd25db750
2 changed files with 0 additions and 29 deletions

View File

@ -1,28 +0,0 @@
version: '3'
networks:
backend:
external: false
services:
backend:
image: registry.kmlabz.com/onspot/backend
restart: always
depends_on:
- db
environment:
- ONSPOT_REDIS_URL=redis://db:6379/0
- ONSPOT_ENCODED_SECRET_KEY=BSE64ENCODED32CHARSLONGSTRING
- ONSPOT_SPOTIFY_CLIENT_ID=CHANGEME
- ONSPOT_SPOTIFY_CLIENT_SECRET=KEEPMESECRET
ports:
- "127.0.0.1:8080:8080"
networks:
- backend
db:
image: redis
restart: always
ports:
- "127.0.0.1:6379:6379"
networks:
- backend

View File

@ -31,7 +31,6 @@ class APIInteractionResource(UserStoreResource):
imagedata = spot_data[0]['images']
elif mb_type == "release":
spot_data = self.spotify.search(q=querystring, type="album", limit=1)['albums']['items']
print(self.spotify.search(q=querystring, type="album", limit=1))
if not spot_data:
return None, None, None
spotify_uri += "album:"