aboutsummaryrefslogtreecommitdiffstats
path: root/python3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xpython3/sha3sum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python3/sha3sum.py b/python3/sha3sum.py
index 337e5c1..27b9fd1 100755
--- a/python3/sha3sum.py
+++ b/python3/sha3sum.py
@@ -698,7 +698,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
SHA3.initialise(r, c, o)
blksize = (o + 7) >> 3
try:
- blksize = os.stat(os.path.realpath(fn)).st_size
+ blksize = os.stat(os.path.realpath(fn)).st_blksize
except:
pass
while True: