Skip to content

Commit

Permalink
Increased the number of releases shown on the UI releases page.
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Mar 4, 2021
1 parent d915308 commit 699c0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazarr/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def get(self):
try:
with io.open(os.path.join(args.config_dir, 'config', 'releases.txt'), 'r', encoding='UTF-8') as f:
releases = json.loads(f.read())
releases = releases[:5]
releases = releases[:25]
for i, release in enumerate(releases):
body = release['body'].replace('- ', '').split('\n')[1:]
releases[i] = {"body": body,
Expand Down

0 comments on commit 699c0cc

Please sign in to comment.