mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Fix Python 3 error in particle sample in 1.9
This commit is contained in:
parent
a1338b9ac6
commit
1808ad217c
@ -200,7 +200,7 @@ class ParticleEffect(NodePath):
|
||||
|
||||
def loadConfig(self, filename):
|
||||
data = vfs.readFile(filename, 1)
|
||||
data = data.replace('\r', '')
|
||||
data = data.replace(b'\r', b'')
|
||||
try:
|
||||
exec(data)
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user