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):
''' selecting a new excel file with scheduled_commands ''' ''' selecting a new excel file with scheduled_commands '''
# open the file selection dialog # open the file selection dialog
opts = { opts = {
'initialdir': '~/', 'initialdir': '~/Desktop',
'filetypes': [('Excel Files', '.xlsx')], 'filetypes': [('Excel Files', '.xlsx')],
'multiple': False} 'multiple': False}
excel_file = tk.filedialog.askopenfilename(**opts) excel_file = tk.filedialog.askopenfilename(**opts)

Loading…
Cancel
Save