From 1e87ba205cebe5e380f065cbfa994827b4d3dac7 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 21 Feb 2024 10:15:37 -0500 Subject: [PATCH] test --- remove_lonely_collections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remove_lonely_collections.py b/remove_lonely_collections.py index 6f5347e..e6db1ef 100644 --- a/remove_lonely_collections.py +++ b/remove_lonely_collections.py @@ -32,7 +32,7 @@ class PLEX_INFO(): @property def token(self): token_script = pathlib.Path(SCRIPT_DIR).joinpath('plex-token.sh') - token_proc = subprocess.Popen(['/bin/bash', token_script], stdout=subprocess.PIPE) + token_proc = subprocess.Popen(['/bin/bash', token_script, "xml"], stdout=subprocess.PIPE) token = token_proc.stdout.read().decode().strip("\n") token_proc.terminate() token_proc.communicate()