summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xDemo/sgi/video/Vaddcache.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/sgi/video/Vaddcache.py b/Demo/sgi/video/Vaddcache.py
index 4e5f0c3..6428fcb 100755
--- a/Demo/sgi/video/Vaddcache.py
+++ b/Demo/sgi/video/Vaddcache.py
@@ -42,7 +42,8 @@ def main():
def process(filename):
try:
fp = open(filename, 'r+')
- vin = VFile.RandomVinFile().initfp(fp, filename)
+ vin = VFile.RandomVinFile(fp)
+ vin.filename = filename
except IOError, msg:
sys.stderr.write(filename + ': I/O error: ' + `msg` + '\n')
return 1