mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-26 22:40:26 +00:00
cast to string
This commit is contained in:
parent
7d2bd7025d
commit
556653a4ba
1 changed files with 3 additions and 3 deletions
|
@ -771,10 +771,10 @@ class Plex:
|
|||
def update_item_from_assets(self, item, overlay=None):
|
||||
logger.debug(item.locations)
|
||||
logger.debug(item.locations[0])
|
||||
logger.debug(os.path.dirname(item.locations[0]))
|
||||
logger.debug(os.path.basename(os.path.dirname(item.locations[0])))
|
||||
logger.debug(os.path.dirname(str(item.locations[0])))
|
||||
logger.debug(os.path.basename(os.path.dirname(str(item.locations[0]))))
|
||||
|
||||
name = os.path.basename(os.path.dirname(item.locations[0]) if self.is_movie else item.locations[0])
|
||||
name = os.path.basename(os.path.dirname(str(item.locations[0])) if self.is_movie else str(item.locations[0]))
|
||||
logger.debug(name)
|
||||
found_folder = False
|
||||
uploaded = False
|
||||
|
|
Loading…
Reference in a new issue