changed rating_key to ratingKey

pull/211/head
meisnate12 4 years ago
parent a5e254aee9
commit 3b8cbb6596

@ -508,7 +508,7 @@ class PlexAPI:
logger.debug(f"Details After Update: {advanced} {edits}") logger.debug(f"Details After Update: {advanced} {edits}")
if advanced and "languageOverride" in edits: if advanced and "languageOverride" in edits:
logger.debug("Item Refreshed") logger.debug("Item Refreshed")
self.refresh_item(item.rating_key) self.refresh_item(item.ratingKey)
logger.info(f"{item_type}: {name}{' Advanced' if advanced else ''} Details Update Successful") logger.info(f"{item_type}: {name}{' Advanced' if advanced else ''} Details Update Successful")
except BadRequest: except BadRequest:
util.print_stacktrace() util.print_stacktrace()

@ -89,7 +89,7 @@ util.centered("| |_) | |/ _ \\ \\/ / | |\\/| |/ _ \\ __/ _` | | |\\/| |/ _` | '_
util.centered("| __/| | __/> < | | | | __/ || (_| | | | | | (_| | | | | (_| | (_| | __/ | ") util.centered("| __/| | __/> < | | | | __/ || (_| | | | | | (_| | | | | (_| | (_| | __/ | ")
util.centered("|_| |_|\\___/_/\\_\\ |_| |_|\\___|\\__\\__,_| |_| |_|\\__,_|_| |_|\\__,_|\\__, |\\___|_| ") util.centered("|_| |_|\\___/_/\\_\\ |_| |_|\\___|\\__\\__,_| |_| |_|\\__,_|_| |_|\\__,_|\\__, |\\___|_| ")
util.centered(" |___/ ") util.centered(" |___/ ")
util.centered(" Version: 1.7.2-Beta7 ") util.centered(" Version: 1.7.2-Beta8 ")
util.separator() util.separator()
if my_tests: if my_tests:

Loading…
Cancel
Save