From 7cfa5fc2736be2c832d0ddfa9255175a1f33158d Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Wed, 20 May 2020 11:04:14 +0800 Subject: [PATCH] Fix some typos Suggested-by: codespell --- apt_offline_core/AptOfflineLib.py | 2 +- apt_offline_gui/AptOfflineQtFetch.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apt_offline_core/AptOfflineLib.py b/apt_offline_core/AptOfflineLib.py index 53c5177..3595ee8 100644 --- a/apt_offline_core/AptOfflineLib.py +++ b/apt_offline_core/AptOfflineLib.py @@ -229,7 +229,7 @@ def msg( self, msg ): self.DispLock.release() def warn( self, msg ): - '''Print messages with a warningr. If locking is available use them.''' + '''Print messages with a warning. If locking is available use them.''' if self.lock: self.DispLock.acquire() diff --git a/apt_offline_gui/AptOfflineQtFetch.py b/apt_offline_gui/AptOfflineQtFetch.py index 52d3aa4..69d4d91 100644 --- a/apt_offline_gui/AptOfflineQtFetch.py +++ b/apt_offline_gui/AptOfflineQtFetch.py @@ -129,7 +129,7 @@ def popupDirectoryDialog(self): def popupZipFileDialog(self): if self.ui.saveDatacheckBox.isChecked() is True: - filename, _ = QtWidgets.QFileDialog.getExistingDirectory(self, 'Select the folder to save downlaods to') + filename, _ = QtWidgets.QFileDialog.getExistingDirectory(self, 'Select the folder to save downloads to') else: # Popup a Zip File selection box filename, _ = QtWidgets.QFileDialog.getSaveFileName(self, 'Select the zip file to save downloads')