updated ArrAPI to 1.3.1

pull/659/head
meisnate12 3 years ago
parent e8200c367c
commit f041537460

@ -77,7 +77,7 @@ collection_mode_options = {
} }
def tab_new_lines(data): def tab_new_lines(data):
return str(data).replace("\n", "\n|\t ") if "\n" in str(data) else str(data) return str(data).replace("\n", "\n ") if "\n" in str(data) else str(data)
def make_ordinal(n): def make_ordinal(n):
return f"{n}{'th' if 11 <= (n % 100) <= 13 else ['th', 'st', 'nd', 'rd', 'th'][min(n % 10, 4)]}" return f"{n}{'th' if 11 <= (n % 100) <= 13 else ['th', 'st', 'nd', 'rd', 'th'][min(n % 10, 4)]}"

@ -2,8 +2,6 @@ import argparse, logging, os, sys, time
from datetime import datetime from datetime import datetime
from logging.handlers import RotatingFileHandler from logging.handlers import RotatingFileHandler
from plexapi.exceptions import NotFound
from plexapi.video import Show, Season
try: try:
import plexapi, schedule import plexapi, schedule
@ -12,6 +10,8 @@ try:
from modules.config import ConfigFile from modules.config import ConfigFile
from modules.meta import MetadataFile from modules.meta import MetadataFile
from modules.util import Failed, NotScheduled from modules.util import Failed, NotScheduled
from plexapi.exceptions import NotFound
from plexapi.video import Show, Season
except ModuleNotFoundError: except ModuleNotFoundError:
print("Requirements Error: Requirements are not installed") print("Requirements Error: Requirements are not installed")
sys.exit(0) sys.exit(0)

@ -1,6 +1,6 @@
PlexAPI==4.9.1 PlexAPI==4.9.1
tmdbapis==0.1.8 tmdbapis==0.1.8
arrapi==1.3.0 arrapi==1.3.1
lxml==4.7.1 lxml==4.7.1
requests==2.27.1 requests==2.27.1
ruamel.yaml==0.17.20 ruamel.yaml==0.17.20

Loading…
Cancel
Save