mirror of
https://github.com/metatube-community/jellyfin-plugin-metatube.git
synced 2026-05-05 04:22:56 +08:00
Code cleanup
This commit is contained in:
@@ -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()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user