From d7c0688382396cf2accb760410ad989ac1d0b995 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Wed, 4 Dec 2019 19:37:33 -0500 Subject: [PATCH] Typo in new delimiter variable --- PySimpleGUI.py | 6 +++--- PySimpleGUIWeb/PySimpleGUIWeb.py | 6 +++--- PySimpleGUIWx/PySimpleGUIWx.py | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 9fb0c378..55c5ac05 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -version = __version__ = "4.7.1.6 Unreleased - included 4.7.1 patch, ability to update ttk buttons, images for ttk buttons, CURRENT_LOOK_AND_FEEL variable, Multiline colored text (FINALLY), experimental gray window warning/nag, Print/Easyprint multiple color output" +version = __version__ = "4.7.1.7 Unreleased - included 4.7.1 patch, ability to update ttk buttons, images for ttk buttons, CURRENT_LOOK_AND_FEEL variable, Multiline colored text (FINALLY), experimental gray window warning/nag, Print/Easyprint multiple color output, BrowseFiles delimeter variable" port = 'PySimpleGUI' @@ -368,7 +368,7 @@ BUTTON_TYPE_CALENDAR_CHOOSER = 30 BUTTON_TYPE_COLOR_CHOOSER = 40 BUTTON_TYPE_SHOW_DEBUGGER = 50 -BROWSE_FILES_DELIMETER = ';' # the delimeter to be used between each file in the returned string +BROWSE_FILES_DELIMITER = ';' # the delimeter to be used between each file in the returned string # ------------------------- Element types ------------------------- # @@ -2371,7 +2371,7 @@ class Button(Element): else: file_name = tk.filedialog.askopenfilenames(filetypes=filetypes, initialdir=self.InitialFolder, parent=self.ParentForm.TKroot) if file_name != '': - file_name = BROWSE_FILES_DELIMETER.join(file_name) # normally a ';' + file_name = BROWSE_FILES_DELIMITER.join(file_name) # normally a ';' strvar.set(file_name) self.TKStringVar.set(file_name) elif self.BType == BUTTON_TYPE_SAVEAS_FILE: diff --git a/PySimpleGUIWeb/PySimpleGUIWeb.py b/PySimpleGUIWeb/PySimpleGUIWeb.py index ad075dce..21e49bbd 100644 --- a/PySimpleGUIWeb/PySimpleGUIWeb.py +++ b/PySimpleGUIWeb/PySimpleGUIWeb.py @@ -1,6 +1,6 @@ #usr/bin/python3 -version = __version__ = "0.33.0.50 Unreleased - added port variable" +version = __version__ = "0.33.0.61 Unreleased - added port variable, browse file delimeter varaible (unused currently)" port = 'PySimpleGUIWeb' @@ -263,7 +263,7 @@ BUTTON_TYPE_REALTIME = 9 BUTTON_TYPE_CALENDAR_CHOOSER = 30 BUTTON_TYPE_COLOR_CHOOSER = 40 -BROWSE_FILES_DELIMETER = ';' # the delimeter to be used between each file in the returned string +BROWSE_FILES_DELIMITER = ';' # the delimeter to be used between each file in the returned string # ------------------------- Element types ------------------------- # # These used to be enums ElementType(Enum): @@ -1243,7 +1243,7 @@ class Button(Element): else: file_names = '' if file_names != '': - file_names = BROWSE_FILES_DELIMETER.join(file_names) + file_names = BROWSE_FILES_DELIMITER.join(file_names) if target_element.Type == ELEM_TYPE_BUTTON: target_element.FileOrFolderName = file_names else: diff --git a/PySimpleGUIWx/PySimpleGUIWx.py b/PySimpleGUIWx/PySimpleGUIWx.py index 58f3b8c2..489c0950 100644 --- a/PySimpleGUIWx/PySimpleGUIWx.py +++ b/PySimpleGUIWx/PySimpleGUIWx.py @@ -261,7 +261,7 @@ BUTTON_TYPE_REALTIME = 9 BUTTON_TYPE_CALENDAR_CHOOSER = 30 BUTTON_TYPE_COLOR_CHOOSER = 40 -BROWSE_FILES_DELIMETER = ';' # the delimeter to be used between each file in the returned string +BROWSE_FILES_DELIMITER = ';' # the delimeter to be used between each file in the returned string # ------------------------- Element types ------------------------- # # class ElementType(Enum): @@ -1383,7 +1383,7 @@ class Button(Element): else: file_names = '' if file_names != '': - file_names = BROWSE_FILES_DELIMETER.join(file_names) + file_names = BROWSE_FILES_DELIMITER.join(file_names) if target_element.Type == ELEM_TYPE_BUTTON: target_element.FileOrFolderName = file_names else: