rmdir can be easily done without calling the shell.
This commit is contained in:
@@ -418,8 +418,8 @@ class Mpegize:
|
|||||||
print("mpegize command base-dir destination-movie fps dng|grw")
|
print("mpegize command base-dir destination-movie fps dng|grw")
|
||||||
|
|
||||||
def cleanup(m):
|
def cleanup(m):
|
||||||
os.system("rmdir %s/sm/" % m.base)
|
os.rmdir(m.base+"/sm/")
|
||||||
os.system("rmdir %s/" % m.base)
|
os.rmdir(m.base)
|
||||||
print("Message: Rec")
|
print("Message: Rec")
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user