more requirements error info

This commit is contained in:
meisnate12 2024-05-03 14:23:03 -04:00
parent 8e52a84293
commit 73abdc8124

View file

@ -15,8 +15,8 @@ try:
from plexapi import server
from plexapi.exceptions import NotFound
from plexapi.video import Show, Season
except (ModuleNotFoundError, ImportError):
print("Requirements Error: Requirements are not installed")
except (ModuleNotFoundError, ImportError) as ie:
print(f"Requirements Error: Requirements are not installed ({ie})")
sys.exit(0)
system_versions = {