summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfb4
1 files changed, 3 insertions, 1 deletions
diff --git a/fb b/fb
index e291ca3..d57a4d3 100755
--- a/fb
+++ b/fb
@@ -116,7 +116,9 @@ def main():
for file in os.listdir(path):
os.remove(path+'/'+file)
# FIXME: causes getcwd error
- os.rmdir(path)
+ #os.rmdir(path)
+ # for some reason this works better
+ Popen(['rmdir', path])
if __name__ == '__main__':
main()