Decoupled settings from the DJ Control script.

This commit is contained in:
RecursiveGreen 2019-07-01 15:01:47 -04:00
parent b48c2eece5
commit 80b37c96f4
2 changed files with 4 additions and 3 deletions

View file

@ -11,14 +11,15 @@ import json
import logging
from logging.handlers import RotatingFileHandler
from decouple import config
import requests
DJ_TOKEN = 'place_generated_token_here'
DJ_TOKEN = config('DJ_TOKEN')
API_URL = 'https://savepointradio.net/api/'
API_URL = config('API_URL') # With trailing slash
RADIO_NAME = 'Save Point Radio'
RADIO_NAME = config('RADIO_NAME')
HEADERS = {
'Content-Type': 'application/json; charset=utf-8',

Binary file not shown.