Browse Source

start directory for file chooser is ~/Desktop

master
Holger Frey 7 years ago
parent
commit
466e1bbb45
  1. 2
      arduino_timetable/gui.py

2
arduino_timetable/gui.py

@ -275,7 +275,7 @@ class Application(tk.Frame): @@ -275,7 +275,7 @@ class Application(tk.Frame):
''' selecting a new excel file with scheduled_commands '''
# open the file selection dialog
opts = {
'initialdir': '~/',
'initialdir': '~/Desktop',
'filetypes': [('Excel Files', '.xlsx')],
'multiple': False}
excel_file = tk.filedialog.askopenfilename(**opts)

Loading…
Cancel
Save