no log: update supersubtitles.py comments

pull/1799/head v1.0.4-beta.21
Vitiko 3 years ago
parent 7040fbc071
commit 4c063bc682

@ -391,8 +391,8 @@ class SuperSubtitlesProvider(Provider, ProviderSubtitleArchiveMixin):
results = None results = None
''' '''
The result will be a JSON like this: In order to work, the result should be a JSON like this:
[{ {
"10": { "10": {
"language":"Angol", "language":"Angol",
"nev":"The Flash (Season 5) (1080p)", "nev":"The Flash (Season 5) (1080p)",
@ -404,14 +404,14 @@ class SuperSubtitlesProvider(Provider, ProviderSubtitleArchiveMixin):
"feltolto":"J1GG4", "feltolto":"J1GG4",
"pontos_talalat":"111", "pontos_talalat":"111",
"evadpakk":"1" "evadpakk":"1"
} }, ...
},...] }
''' '''
subtitle_list = {} subtitle_list = {}
season_pack_list = {} season_pack_list = {}
# Check the results: # Check the results. If a list or a Nonetype is returned, ignore it:
if results and not isinstance(results, list): if results and not isinstance(results, list):
for result in results.values(): for result in results.values():
''' '''

Loading…
Cancel
Save