From f8a287c0426ea8bab44e8cf401d3dcc8241a120d Mon Sep 17 00:00:00 2001
From: Doadin <tbkizle@gmail.com>
Date: Wed, 2 Jul 2014 21:58:05 -0400
Subject: [PATCH] [#2466] [AutoAdd] Fix Copy Torrent File
---
deluge/plugins/AutoAdd/deluge/plugins/autoadd/core.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/deluge/plugins/AutoAdd/deluge/plugins/autoadd/core.py b/deluge/plugins/AutoAdd/deluge/plugins/autoadd/core.py
index 6d829b4..c9d916f 100644
a
|
b
|
def update_watchdir(self, watchdir_id):
|
338 | 338 | os.path.basename(filepath), copy_torrent_path) |
339 | 339 | try: |
340 | 340 | os.rename(filepath, copy_torrent_file) |
| 341 | os.remove(filepath) |
341 | 342 | except OSError, why: |
342 | 343 | from errno import EXDEV |
343 | 344 | if why.errno == errno.EXDEV: |