fix(jelly-media): fix f-string syntax compatibility for Python < 3.12
This commit is contained in:
@@ -771,10 +771,10 @@ def run_cli():
|
||||
elif args.command == "test":
|
||||
print("Testing Jellyfin Auth...")
|
||||
jf_ok = client.auth_jellyfin()
|
||||
print(f" Jellyfin: {"[OK]" if jf_ok else "[FAILED]"}")
|
||||
print(" Jellyfin:", "[OK]" if jf_ok else "[FAILED]")
|
||||
print("Testing Jellyseerr Auth...")
|
||||
js_ok = client.auth_jellyseerr()
|
||||
print(f" Jellyseerr: {"[OK]" if js_ok else "[FAILED]"}")
|
||||
print(" Jellyseerr:", "[OK]" if js_ok else "[FAILED]")
|
||||
else:
|
||||
parser.print_help()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user