From fcdea6ede37bb7fa0dc7c5cc7874a8a6a792ad26 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 16 Mar 2021 09:56:17 -0400 Subject: [PATCH] Revert "possible fix for #109" This reverts commit adb612e69a244e541f3804d127547a8013bac5c3. --- plex_meta_manager.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/plex_meta_manager.py b/plex_meta_manager.py index 954fb123..bf8b1918 100644 --- a/plex_meta_manager.py +++ b/plex_meta_manager.py @@ -1,8 +1,12 @@ import argparse, logging, os, re, sys, time from datetime import datetime -import schedule -from modules import tests, util -from modules.config import Config +try: + import schedule + from modules import tests, util + from modules.config import Config +except ModuleNotFoundError: + print("Error: Requirements are not installed") + sys.exit(0) parser = argparse.ArgumentParser() parser.add_argument("--my-tests", dest="tests", help=argparse.SUPPRESS, action="store_true", default=False)