Skip to content

Commit 137a38c

Browse files
committed
Minor Bug Fix
Fix installing mutagen and pycairo failed.
1 parent 80e5315 commit 137a38c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
import MRT.commons
22
import MRT.mrt
33
import MRT.v9
4-
import os
5-
try:
6-
import mutagen
7-
import cairo
8-
except:
9-
os.system('pip install mutagen')
10-
os.system('pip install pycairo')
11-
print('\n Please restart Program')
124

135

Source Code/Python Source Code/MRT/v9.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99
x=input('\n Press any key to exit...')
1010
exit()
1111

12+
import os
13+
try:
14+
import mutagen
15+
import cairo
16+
except:
17+
os.system('pip install mutagen')
18+
os.system('pip install pycairo')
19+
1220
# Function to display main menu()
1321
def san():
1422
cls()

0 commit comments

Comments
 (0)