From 85401431de4a24057856f58a45ea483d865e1427 Mon Sep 17 00:00:00 2001 From: Eric Carlson Date: Wed, 2 Jun 2021 01:32:47 +0000 Subject: [PATCH] fix arithimetic typeerror --- plex_meta_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plex_meta_manager.py b/plex_meta_manager.py index de230919..dbb21c13 100644 --- a/plex_meta_manager.py +++ b/plex_meta_manager.py @@ -59,7 +59,7 @@ for time_to_run in times_to_run: util.separating_character = os.environ.get("PMM_DIVIDER")[0] if os.environ.get("PMM_DIVIDER") else args.divider[0] -screen_width = os.environ.get("PMM_WIDTH") if os.environ.get("PMM_WIDTH") else args.width +screen_width = int(os.environ.get("PMM_WIDTH")) if os.environ.get("PMM_WIDTH") else args.width if 90 <= screen_width <= 300: util.screen_width = screen_width else: