From 422238eb4904de14842221fa09a2b4028801afb1 Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Sat, 12 Sep 2015 22:05:49 -0400 Subject: fix for bug #7. --- combox/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combox/file.py b/combox/file.py index c70e11e..cb64307 100644 --- a/combox/file.py +++ b/combox/file.py @@ -176,7 +176,7 @@ def rm_path(fpath): try: if path.isfile(fpath): os.remove(fpath) - else: + elif path.isdir(fpath): os.rmdir(fpath) except OSError, e: print e, "Something wrong. report bug to sravik@bgsu.edu" -- cgit v1.2.3