Don't update existing dir
This commit is contained in:
1 parent
c4c4fdc647
commit
fd79d5d034
1 file changed
+1
-1
@@ -59,7 +59,7 @@ class SpiderDen(private val mGalleryInfo: GalleryInfo) {
|
||||
var mode = SpiderQueen.MODE_READ
|
||||
set(value) {
|
||||
field = value
|
||||
if (field == SpiderQueen.MODE_DOWNLOAD) {
|
||||
if (field == SpiderQueen.MODE_DOWNLOAD && downloadDir == null) {
|
||||
val title = getSuitableTitle(mGalleryInfo)
|
||||
val dirname = FileUtils.sanitizeFilename("$mGid-$title")
|
||||
EhDB.putDownloadDirname(mGid, dirname)
|
||||
|
||||
Reference in new issue
Block a user