File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Source Code/Python Source Code/MRT Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1010 exit ()
1111
1212import os
13- from shutil import move
13+ from shutil import move , copy
1414try :
1515 import mutagen
1616except :
@@ -40,19 +40,21 @@ def san():
4040 exit ()
4141 elif x == '3' :
4242 file = input ('\n Enter Audio File:' )
43- y = move (file ,'MRT' )
43+ y = copy (file ,'MRT' )
4444 os .chdir ('MRT' )
4545 os .system ('py mat2.py ' + file )
4646 y = move (file .split ('.' )[0 ]+ '.cleaned.' + file .split ('.' )[1 ],'..' )
47+ os .remove (file )
4748 os .chdir ('..' )
4849 san ()
4950 exit ()
5051 elif x == '4' :
5152 file = input ('\n Enter Torrent File:' )
52- y = move (file ,'MRT' )
53+ y = copy (file ,'MRT' )
5354 os .chdir ('MRT' )
5455 os .system ('py mat2.py ' + file )
5556 y = move (file .split ('.' )[0 ]+ '.cleaned.' + file .split ('.' )[1 ],'..' )
57+ os .remove (file )
5658 os .chdir ('..' )
5759 san ()
5860 exit ()
You can’t perform that action at this time.
0 commit comments