Add export directory

This commit is contained in:
JonnyWong16
2020-08-03 14:23:31 -07:00
parent b872cce2a4
commit 6334ffa197
7 changed files with 28 additions and 3 deletions

View File

@@ -897,7 +897,7 @@ def export(section_id=None, rating_key=None, file_format='json'):
return
filename = helpers.clean_filename(filename)
filepath = os.path.join(plexpy.CONFIG.CACHE_DIR, filename)
filepath = os.path.join(plexpy.CONFIG.EXPORT_DIR, filename)
logger.info("Tautulli Exporter :: Starting export for '%s'...", filename)
export_id = set_export_state(timestamp=timestamp,