fixed temp dir

This commit is contained in:
Mads Mide Michelsen 2023-08-27 20:00:27 +02:00
parent acff0c350c
commit 1eda02be6c
2 changed files with 3 additions and 2 deletions

View File

@ -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''',

View File

@ -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