@ -253,6 +253,9 @@ class ChooseDownloadDirectory(QtWidgets.QDialog):
indexDict["mirrors"].append("http://0.0.0.0:8000/") #TODO: Development
logger.info(f"Mirror list for downloads: {indexDict['mirrors']}")
#Test if there is enough disk space
required = indexDict["filesize"]
freeSpace = disk_usage(self.ui.pathComboBox.currentText()).free