* Add wait_for as a valid option for pyMedusa

* Add docs.

* doc

* wrong section
This commit is contained in:
p0ps 2021-02-18 02:30:51 +01:00 committed by GitHub
commit 06d91c6928
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -120,7 +120,7 @@ class PyMedusaApiV2(SickBeard):
queueitem_identifier = jdata['queueItem']['identifier']
wait_for = self.sb_init.config.get('wait_for', 2)
wait_for = int(self.sb_init.config.get('wait_for', 2))
n = 0
response = {}
url = '{0}/{1}'.format(url, queueitem_identifier)