Skip to content

Conversation

@Jonybat
Copy link

@Jonybat Jonybat commented Dec 3, 2023

Describe the changes

RD is not very reliable. I've seen it reply the following to the API requests:

  • (16, '')
  • <br />- <b>Fatal error</b>: 'break' not in the 'loop' or 'switch' context in <b>/home/real-debrid/www/includes/core.php</b> on line <b>8046</b><br />

The decrypter currently does not handle those kinds of errors, and it just gives up. This should help (at least it has been working fine for me)

Is this related to a problem?

Related to #4040

Additional references

I am not a dev, but i tried to be as consistent as possible. This is mostly based on what was done in #4042
Feel free to clean it up or suggest (easy) changes

@pep8speaks
Copy link

pep8speaks commented Dec 3, 2023

Hello @Jonybat! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 43:89: E501 line too long (95 > 88 characters)

We recommend to use black to automatically correct these files.

Comment last updated at 2023-12-03 14:55:35 UTC

@CLAassistant
Copy link

CLAassistant commented Dec 3, 2023

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants