mirror of
https://github.com/FAUSheppy/ths-datenlogger
synced 2025-12-07 04:31:34 +01:00
Added support for .txt
This commit is contained in:
committed by
atlantispc_sheppy
parent
a4a259fefc
commit
ab24cb843f
@@ -246,7 +246,7 @@ def open_file():
|
||||
return f
|
||||
|
||||
path=None
|
||||
path=tkinter.filedialog.askopenfilename(filetypes=(("DBF/XLS Files",("*.DBF","*.dbf","*.xls","*.XLS")),("All Files","*.*")))
|
||||
path=tkinter.filedialog.askopenfilename(filetypes=(("DBF/XLS Files",("*.DBF","*.dbf","*.xls","*.XLS","*.txt","*.TXT")),("All Files","*.*")))
|
||||
if path == None or path=="":
|
||||
print("Error: No file selected!")
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user