Add files via upload

Changed to open file in read only mode, not read-write mode.
This commit is contained in:
barberd 2021-03-29 08:54:11 -04:00 committed by GitHub
parent b52ed9a7fb
commit eeeb7a61a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ import math
filename=sys.argv[1]
file_size = os.path.getsize(filename)
fh=open(filename,"r+b")
fh=open(filename,"rb")
fh.seek(1026)