diff options
author | Tom Willemse | 2014-02-19 01:02:21 +0100 |
---|---|---|
committer | Tom Willemse | 2014-02-19 01:02:21 +0100 |
commit | 31c26adf0e262e6e54ce4df151b651a1fc3a86ce (patch) | |
tree | 7385848567356da4d253018fbf03a02d7f61297b /hypo.hy | |
parent | 08fb2679bdbc1ea346f6a0e3e3fc0a92b0791c7a (diff) | |
download | hypo-31c26adf0e262e6e54ce4df151b651a1fc3a86ce.tar.gz hypo-31c26adf0e262e6e54ce4df151b651a1fc3a86ce.zip |
Print a message on successful deletion
Diffstat (limited to 'hypo.hy')
-rwxr-xr-x | hypo.hy | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -117,7 +117,8 @@ If no lexer is found fallback onto the text lexer." (defun delete-dir [self name] (let ((dirname (+ "files/" name))) (if (os.path.exists dirname) - (shutil.rmtree dirname) + (do (shutil.rmtree dirname) + (+ "Succesfully removed " name "\n")) (no-such-file)))) (defun upload-file [self name] |