mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
fix TypeError with PMM_WIDTH
This commit is contained in:
parent
341b95ac78
commit
f18b3ed604
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue