mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
directutil: Fix use of removed file()
This commit is contained in:
parent
f7bd54b9ee
commit
b7124da4aa
@ -56,7 +56,7 @@ class DistributedLargeBlobSender(DistributedObject.DistributedObject):
|
||||
except OSError:
|
||||
DistributedLargeBlobSender.notify.error(
|
||||
'could not access %s' % bPath)
|
||||
f = file(filename, 'rb')
|
||||
f = open(filename, 'rb')
|
||||
self.blob = f.read()
|
||||
f.close()
|
||||
os.unlink(filename)
|
||||
|
Loading…
x
Reference in New Issue
Block a user