fix arithimetic typeerror

This commit is contained in:
Eric Carlson 2021-06-02 01:32:47 +00:00
parent e92b7fced2
commit 85401431de
No known key found for this signature in database
GPG key ID: 2E35BB9E857219FD

View file

@ -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: