Bugfix by Rob W. W. Hooft, from his spelling fixes patch. This one is a
genuine bug, so I checked it in separately.
This commit is contained in:
parent
307d7a426f
commit
c533e4a012
|
@ -53,7 +53,7 @@ class Cdplayer:
|
||||||
if not match:
|
if not match:
|
||||||
print 'syntax error in ~/' + cdplayerrc
|
print 'syntax error in ~/' + cdplayerrc
|
||||||
continue
|
continue
|
||||||
name, valye = match.group(1, 2)
|
name, value = match.group(1, 2)
|
||||||
if name == 'title':
|
if name == 'title':
|
||||||
self.title = value
|
self.title = value
|
||||||
elif name == 'artist':
|
elif name == 'artist':
|
||||||
|
|
|
@ -53,7 +53,7 @@ class Cdplayer:
|
||||||
if not match:
|
if not match:
|
||||||
print 'syntax error in ~/' + cdplayerrc
|
print 'syntax error in ~/' + cdplayerrc
|
||||||
continue
|
continue
|
||||||
name, valye = match.group(1, 2)
|
name, value = match.group(1, 2)
|
||||||
if name == 'title':
|
if name == 'title':
|
||||||
self.title = value
|
self.title = value
|
||||||
elif name == 'artist':
|
elif name == 'artist':
|
||||||
|
|
Loading…
Reference in New Issue