diff options
Diffstat (limited to '')
-rwxr-xr-x | python3/sha3sum.py | 2 |
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: |