We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dab737 commit 9ca7829Copy full SHA for 9ca7829
app/api.py
@@ -357,6 +357,7 @@ def help():
357
import shutil
358
from pathlib import PureWindowsPath, PurePosixPath
359
file_paths = './app/static/img/tmp/'
360
+ localexists = 'False'
361
config = Plex.query.filter(Plex.id == '1')
362
plexserver = PlexServer(config[0].plexurl, config[0].token)
363
lib = config[0].filmslibrary.split(',')
@@ -406,8 +407,7 @@ def help():
406
407
newdir = re.sub(config[0].plexpath, '/films/', i.media[0].parts[0].file, 1)
408
except:
409
newdir = 'Can not be converted'
- log.debug(newdir)
410
- localexists = 'False'
+ log.debug(newdir)
411
if os.path.exists(newdir) == True:
412
localexists = 'True'
413
log.debug("PATH EXISTS")
0 commit comments