aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mageiaSync/mageiaSyncExt.py4
-rw-r--r--mageiaSync/mageiasync.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/mageiaSync/mageiaSyncExt.py b/mageiaSync/mageiaSyncExt.py
index 23c5d3b..6bdc0bd 100644
--- a/mageiaSync/mageiaSyncExt.py
+++ b/mageiaSync/mageiaSyncExt.py
@@ -12,7 +12,7 @@ from PyQt5.QtCore import QDir, QFileInfo,pyqtSignal,QThread
class checkThread(QThread):
md5Signal = pyqtSignal(int)
- sha1Signal= pyqtSignal(int)
+ sha512Signal= pyqtSignal(int)
dateSignal=pyqtSignal(int)
sizeFinalSignal=pyqtSignal(int,str)
checkStartSignal=pyqtSignal(int)
@@ -81,7 +81,7 @@ class checkThread(QThread):
signal=300+self.isoIndex
self.checkStartSignal.emit(signal)
checkSha=self.processSum('sha512')
- self.sha1Signal.emit(self.isoIndex+checkSha)
+ self.sha512Signal.emit(self.isoIndex+checkSha)
self.quit()
diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py
index c9c3fa6..64674e2 100644
--- a/mageiaSync/mageiasync.py
+++ b/mageiaSync/mageiasync.py
@@ -245,7 +245,7 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow):
self.model.data(self.model.index(isoIndex,1)),
isoIndex)
self.checkThreads[-1].md5Signal.connect(self.md5Check)
- self.checkThreads[-1].sha1Signal.connect(self.sha1Check)
+ self.checkThreads[-1].sha512Signal.connect(self.sha512Check)
# self.checkThreads[-1].dateSignal.connect(self.dateCheck)
self.checkThreads[-1].sizeFinalSignal.connect(self.sizeUpdate)
self.checkThreads[-1].checkStartSignal.connect(self.checkStart)
@@ -284,7 +284,7 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow):
self.lvMessage("MD5 Signature OK")
self.model.setData(self.model.index(row, 4, QtCore.QModelIndex()), val)
- def sha1Check(self,check):
+ def sha512Check(self,check):
verified=False
signed=True
if check>=128: