From 7d58c3e04b3763dbd3dd0ca77950d3e9deaae674 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 15 May 2019 16:59:57 -0300 Subject: Remove dependency on subprocess module --- ckandumper | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ckandumper b/ckandumper index d2aa8a3..51089b7 100755 --- a/ckandumper +++ b/ckandumper @@ -22,7 +22,7 @@ import asyncio import argparse import curses -import sys, os, subprocess, json +import sys, os, json from urllib.parse import urlencode class StatusLine: @@ -86,7 +86,6 @@ class DownloadMultiple: # Other opts: -q --show-progress cmd = '/usr/bin/wget ' + self.limit_rate + ' -q --show-progress --progress=dot -c -O "' + local_filename + '" ' + url - #proc = subprocess.call(cmd, shell=True) proc = await asyncio.create_subprocess_shell(cmd, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE) -- cgit v1.2.3