summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/al/playaiff.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sgi/al/playaiff.py')
-rwxr-xr-xDemo/sgi/al/playaiff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sgi/al/playaiff.py b/Demo/sgi/al/playaiff.py
index f84a68c..756748d 100755
--- a/Demo/sgi/al/playaiff.py
+++ b/Demo/sgi/al/playaiff.py
@@ -22,11 +22,11 @@ def main():
except EOFError:
break
if v: print 'header:', `type`, size
- if type = 'COMM':
+ if type == 'COMM':
nchannels, nsampframes, sampwidth, samprate = \
aiff.read_comm_chunk(f)
if v: print nchannels, nsampframes, sampwidth, samprate
- elif type = 'SSND':
+ elif type == 'SSND':
offset, blocksize = aiff.read_ssnd_chunk(f)
if v: print offset, blocksize
data = f.read(size-8)