aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-05-22 14:06:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-05-22 14:06:02 -0300
commita14879914a682d1daee6e9f16b0bc00c3e28d686 (patch)
tree2406b8399fb4fdb97445ab54fbed739f792f29b1
parent0a3093b41928134f7b077f939fa664454736afe9 (diff)
downloadckandumper-a14879914a682d1daee6e9f16b0bc00c3e28d686.tar.gz
ckandumper-a14879914a682d1daee6e9f16b0bc00c3e28d686.tar.bz2
Minor fix
-rwxr-xr-xckandumper4
1 files changed, 2 insertions, 2 deletions
diff --git a/ckandumper b/ckandumper
index 3a02ded..c5fb589 100755
--- a/ckandumper
+++ b/ckandumper
@@ -38,7 +38,7 @@ class DownloadMultiple:
if '/' in wget_bin and not os.path.exists(wget_bin):
raise FileNotFoundError('Wget not found in path ' + wget_bin + '; please install it first.')
else:
- result = subprocess.check_call(wget_bin + ' --help', stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, shell=True)
+ subprocess.check_call(wget_bin + ' --help', stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, shell=True)
self.limit_rate = limit_rate
self.limit_concurrent = asyncio.Semaphore(int(limit_concurrent))
@@ -365,6 +365,6 @@ if __name__ == "__main__":
except KeyboardInterrupt as e:
print(e)
exit(1)
- except CalledProcessError as e:
+ except subprocess.CalledProcessError as e:
print(e)
exit(1)