From 1eda02be6ca1d6991c41e571fb687d15f0e688dd Mon Sep 17 00:00:00 2001 From: Mads Mide Michelsen Date: Sun, 27 Aug 2023 20:00:27 +0200 Subject: [PATCH] fixed temp dir --- setup.py | 2 +- src/derailleur/postproc/generic.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 053f67a..c30ecf2 100755 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ from distutils.core import setup setup( name='derailleur', - version='0.31', + version='0.32', license='GPL3', description=''''Derailleur is a unified collection of tools for the ''' ''''Transmission bittorrent client''', diff --git a/src/derailleur/postproc/generic.py b/src/derailleur/postproc/generic.py index 56c6b0f..4ff774a 100644 --- a/src/derailleur/postproc/generic.py +++ b/src/derailleur/postproc/generic.py @@ -27,7 +27,8 @@ class Torrent: self.torrent_path = stats.torrent_path self.torrent_ppath = stats.torrent_ppath self.move_lst, self.move_type_lst = [], [] - self.tmp_folder = config['Postproc']['tmp_path'] + #self.tmp_folder = config['Postproc']['tmp_path'] + self.tmp_folder = TemporaryDirectory() def manipulate(self): """Changes files and variables before selecting the relevant files for