diff options
Diffstat (limited to 'konversation/scripts/media')
-rwxr-xr-x | konversation/scripts/media | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/konversation/scripts/media b/konversation/scripts/media index cc9b645..e369262 100755 --- a/konversation/scripts/media +++ b/konversation/scripts/media @@ -126,7 +126,7 @@ class Player(object): if mode and mode != self.displayName: self._format['intro']=self._format[mode] else: - self._format['intro']=self._format[self.type.tqreplace(',','').split()[0]] + self._format['intro']=self._format[self.type.replace(',','').split()[0]] return string.Template(outputFormat).safe_substitute(self._format) return '' @@ -167,7 +167,7 @@ class Player(object): try: input = input.decode('latin-1') except UnicodeError: - input = input.decode('ascii', 'tqreplace') + input = input.decode('ascii', 'replace') except NameError: pass return input.encode('utf-8') |