network_handler.py: Adjust naming scheme to PEP

This commit is contained in:
Mykola Grymalyuk
2023-02-02 22:13:00 -07:00
parent f33cc2d5bb
commit 664972fd2e
2 changed files with 94 additions and 22 deletions
+2 -2
View File
@@ -1784,7 +1784,7 @@ class wx_python_gui:
wx.GetApp().Yield()
ia_download = network_handler.download_object(app_dict['Link'])
ia_download = network_handler.DownloadObject(app_dict['Link'])
ia_download.download(self.constants.payload_path / "InstallAssistant.pkg")
while ia_download.is_active():
@@ -2280,7 +2280,7 @@ class wx_python_gui:
path = self.constants.installer_pkg_path
autopkg_download = network_handler.download_object(link)
autopkg_download = network_handler.DownloadObject(link)
autopkg_download.download(path, display_progress=False)
while autopkg_download.is_active():