Fixed platydock rm command
This commit is contained in:
parent
01f020c203
commit
949d9cd619
1 changed files with 1 additions and 2 deletions
|
@ -234,9 +234,8 @@ def rm(args):
|
|||
parser.add_argument('image', type=str, help='Platypush image to remove')
|
||||
opts, args = parser.parse_known_args(args)
|
||||
|
||||
devdir = os.path.join(workdir, Config.get('device_id'))
|
||||
subprocess.call(['docker', 'rmi', 'platypush-{}'.format(opts.image)])
|
||||
subprocess.call(['rm', '-r', 'platypush-{}'.format(opts.image)])
|
||||
subprocess.call(['rm', '-r', os.path.join(workdir, opts.image)])
|
||||
|
||||
|
||||
def ls(args):
|
||||
|
|
Loading…
Reference in a new issue