diff --git a/headphones/encode.py b/headphones/encode.py index f5d8e578..f0b2464d 100644 --- a/headphones/encode.py +++ b/headphones/encode.py @@ -5,10 +5,6 @@ import time from subprocess import call -try: - import argparse -except ImportError: - import lib.argparse as argparse def encode(albumPath): @@ -58,4 +54,5 @@ def encode(albumPath): shutil.move(musicTempFiles[i],os.path.join(albumPath)) i=i+1 - shutil.rmtree(tempDirEncode) \ No newline at end of file + shutil.rmtree(tempDirEncode) + time.sleep(1) \ No newline at end of file