PR#3782: Fix typo

Merges #3782
https://pagure.io/koji/pull-request/3782
This commit is contained in:
Tomas Kopecek 2023-05-11 15:02:29 +02:00
commit eb28e50ccc

View file

@ -3371,7 +3371,7 @@ class ClientSession(object):
fo = open(localfile, "rb") # specify bufsize?
totalsize = os.path.getsize(localfile)
ofs = 0
sha256sum = hashlib.sha256sum()
sha256sum = hashlib.sha256()
debug = self.opts.get('debug', False)
if callback:
callback(0, totalsize, 0, 0, 0)