Add files via upload

This commit is contained in:
Anjok07
2022-04-07 19:10:06 -05:00
committed by GitHub
parent 98d55b7354
commit ab6ca173ed
2 changed files with 13 additions and 6 deletions

View File

@@ -547,6 +547,11 @@ class MainWindow(TkinterDnD.Tk):
message='You have selected an invalid music file! Please make sure that the file still exists!',
detail=f'File path: {path}')
return
if not os.path.isfile(instrumentalModel_path):
tk.messagebox.showwarning(master=self,
title='Invalid Main Model File',
message='You have selected an invalid main model file!\nPlease make sure that your model file still exists!')
return
if not os.path.isdir(export_path):
tk.messagebox.showwarning(master=self,
title='Invalid Export Directory',