Mercurial > hg > config
changeset 655:cd73d951ae5b
remove ephemeral directory
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 28 Mar 2014 23:23:34 -0700 |
parents | d325f380e2fb |
children | 4d9df2370659 |
files | python/dlna.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/python/dlna.py Fri Mar 28 23:01:22 2014 -0700 +++ b/python/dlna.py Fri Mar 28 23:23:34 2014 -0700 @@ -3,6 +3,7 @@ import argparse import os +import shutil import subprocess import sys import tempfile @@ -46,6 +47,7 @@ subprocess.check_call(command) os.remove(name) + shutil.rmtree(options.db_dir) if __name__ == '__main__': main()