From d19d3c4505ff93e4237cdd746360b84ffdb9072d Mon Sep 17 00:00:00 2001 From: xjasonlyu Date: Sun, 3 Jul 2022 16:20:22 +0800 Subject: [PATCH] Code cleanup --- scripts/manifest.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/manifest.py b/scripts/manifest.py index a55031f..d196c5e 100644 --- a/scripts/manifest.py +++ b/scripts/manifest.py @@ -32,14 +32,11 @@ def main(): with urlopen('https://raw.githubusercontent.com/javtube/jellyfin-plugin-javtube/dist/manifest.json') as f: manifest = json.load(f) - manifest[0]['versions'].insert( - 0, - generate(filename, version) - ) + manifest[0]['versions'].insert(0, generate(filename, version)) with open('manifest.json', 'w') as f: json.dump(manifest, f, indent=2) if __name__ == '__main__': - main() \ No newline at end of file + main()