Added recognition for .MID file extension
This commit is contained in:
parent
c55da23e2d
commit
9289f9614b
1 changed files with 1 additions and 1 deletions
2
main.py
Normal file → Executable file
2
main.py
Normal file → Executable file
|
@ -132,7 +132,7 @@ class App(ttk.Frame):
|
|||
initial_dir = os.getcwd()
|
||||
if 'HOME' in os.environ:
|
||||
initial_dir = os.environ['HOME']
|
||||
self.files = fd.askopenfilename(defaultextension=".mid", filetypes=[("MIDI", ".mid")], initialdir=initial_dir, multiple=True)
|
||||
self.files = fd.askopenfilename(defaultextension=".mid", filetypes=[("MIDI", ".mid"), ("MIDI", ".MID")], initialdir=initial_dir, multiple=True)
|
||||
self.midi_file_var.set(self.files)
|
||||
|
||||
def main(args):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue