diff options
author | Florian Pritz <bluewind@xssn.at> | 2009-08-31 16:23:32 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2009-08-31 16:23:32 +0200 |
commit | 8b8ac4d79bbff582d0d79eea41e64307edc7c88f (patch) | |
tree | ab2ceb3b87664f9dd2ee88116d0b1322bae91fa6 /fb | |
parent | e7c747fd21c5bff7451b3f47c0f8a1322ea17b66 (diff) | |
download | bin-8b8ac4d79bbff582d0d79eea41e64307edc7c88f.tar.gz bin-8b8ac4d79bbff582d0d79eea41e64307edc7c88f.tar.xz |
fb: workaround for os.rmdir() bug
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'fb')
-rwxr-xr-x | fb | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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() |