]> gitweb.fluxo.info Git - grab-queue.git/commitdiff
Rollback and minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 8 Jul 2019 16:53:15 +0000 (13:53 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 8 Jul 2019 16:53:15 +0000 (13:53 -0300)
grab-queue

index 7ea4bde4738f1bbd21b376012d09276ed1fc6d1e..19397d493b4d8fb008dab84fc17abbd88305849b 100755 (executable)
@@ -78,11 +78,7 @@ class DownloadMultiple:
             # Other opts: -q --show-progress -O
             downloader_bin = self.downloader.split(' ')[0]
             if 'wget' in downloader_bin and local_filename[-1] != '/':
-                self_downloader += '-O ' + local_filename
-
-            # FIXME: --import-ignores from the previous grab
-            if 'grab-site' in downloader_bin:
-                self_downloader += ''
+                self.downloader += '-O ' + local_filename
 
             # Run command
             cmd  = 'cd  ' + folder + ' && ' + self.downloader + ' ' + url