mirror of
https://gitlab.com/openlp/openlp_api_tester.git
synced 2024-12-22 12:32:47 +00:00
Timing Cleanups
This commit is contained in:
parent
670c658dc6
commit
4183cc6806
@ -1,4 +1,4 @@
|
||||
---
|
||||
process_name: Pause Media
|
||||
step1:
|
||||
name: media_pause
|
||||
name: media_pause
|
||||
|
@ -66,7 +66,7 @@ def search_and_add(rtc: object, payload: dict) -> None:
|
||||
while True:
|
||||
let = random.choice(string.ascii_letters)
|
||||
ret = requests.get(rtc.base_url + f'plugins/{plugin}/search?text={let}')
|
||||
if ret.status_code == 200 and ret.text is not '[]\n':
|
||||
if ret.status_code == 200 and ret.text != '[]\n':
|
||||
break
|
||||
else:
|
||||
let = random.choice(string.ascii_letters)
|
||||
|
Loading…
Reference in New Issue
Block a user