Opened 14 years ago
Closed 14 years ago
#1614 closed bug (Fixed)
autoadd will match a directory called "torrent"
Reported by: | heissfuss | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 1.3.2 |
Component: | Core | Version: | 1.3.1 |
Keywords: | autoadd directory torrent | Cc: |
Description
core/autoadd.py
76 for filename in os.listdir(self.configautoadd_location): 77 if filename.split(".")[-1] == "torrent":
This causes me some issues because I had my download directory named torrent and had the autoadd directory one level above it. This caused autoadd to rename my torrent directory to torrent.invalid every time deluge started.
This is a very minor issue, but it was quite frustrating before I tracked it down.
Attachments (1)
Change History (6)
comment:1 by , 14 years ago
Type: | defect → bug |
---|
by , 14 years ago
Attachment: | autoadd.py.patch added |
---|
comment:2 by , 14 years ago
Nice find!
Would you be able to test the patch I've attached?
If it works, I'll commit it and it will be in the next release.
comment:3 by , 14 years ago
Milestone: | Future → 1.3.2 |
---|
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Awesome. I've committed it to git and so it will be in the next release :)
autoadd.py patch