diff --git a/init_instances.py b/init_instances.py index ef3342c..af3d470 100644 --- a/init_instances.py +++ b/init_instances.py @@ -22,13 +22,13 @@ def main(self): @property def online(self): if self._online is None: - from network_functions import Online # Import Online from network_functions + from network.network_functions import Online # Import Online from network_functions self._online = Online() return self._online @property def download(self): - from network_functions import DownloadWorker + from network.network_functions import DownloadWorker return DownloadWorker() # Always return a new instance to reset the thread @property diff --git a/network_functions.py b/network/network_functions.py similarity index 99% rename from network_functions.py rename to network/network_functions.py index 8af2959..6e84c28 100644 --- a/network_functions.py +++ b/network/network_functions.py @@ -86,8 +86,7 @@ def filter_emulator_data(self): self.emulator_database = emulator_data # Store the data for later use throughout the codebase return emulator_data - -# Download Worker class to download the files +# Worker thread used for downlaoding emulators class DownloadWorker(QObject): progress = pyqtSignal(int) finished = pyqtSignal()