Format code using black
This commit is contained in:
parent
efe4fa027e
commit
c27f020d73
85 changed files with 3238 additions and 2243 deletions
|
@ -9,16 +9,16 @@ dj_type = sys.argv[1]
|
|||
username = sys.argv[2]
|
||||
password = sys.argv[3]
|
||||
|
||||
source_type = ''
|
||||
if dj_type == '--master':
|
||||
source_type = 'master'
|
||||
elif dj_type == '--dj':
|
||||
source_type = 'dj'
|
||||
source_type = ""
|
||||
if dj_type == "--master":
|
||||
source_type = "master"
|
||||
elif dj_type == "--dj":
|
||||
source_type = "dj"
|
||||
|
||||
response = api_clients.check_live_stream_auth(username, password, source_type)
|
||||
|
||||
if 'msg' in response and response['msg'] == True:
|
||||
print(response['msg'])
|
||||
if "msg" in response and response["msg"] == True:
|
||||
print(response["msg"])
|
||||
sys.exit(0)
|
||||
else:
|
||||
print(False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue