mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-07 17:36:15 +00:00
hello API 8 !
This commit is contained in:
parent
3a2b6ade68
commit
0284fee95c
1166 changed files with 26061 additions and 375100 deletions
2
dist/ba_data/python/bacommon/transfer.py
vendored
2
dist/ba_data/python/bacommon/transfer.py
vendored
|
|
@ -59,7 +59,7 @@ class DirectoryManifest:
|
|||
sha = hashlib.sha256()
|
||||
fullfilepath = os.path.join(pathstr, filepath)
|
||||
if not os.path.isfile(fullfilepath):
|
||||
raise Exception(f'File not found: "{fullfilepath}"')
|
||||
raise RuntimeError(f'File not found: "{fullfilepath}".')
|
||||
with open(fullfilepath, 'rb') as infile:
|
||||
filebytes = infile.read()
|
||||
filesize = len(filebytes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue