py3 porting

This commit is contained in:
Kovid Goyal 2019-07-25 09:08:56 +05:30
parent 6057bcbb5a
commit 157c5a1cb7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -684,7 +684,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
tags += list(data['tags']) tags += list(data['tags'])
self.current_db.new_api.set_field('tags', {book_id: tags}) self.current_db.new_api.set_field('tags', {book_id: tags})
else: else:
prints(u'Ignoring unknown message from other instance: %r' % msg[:20]) prints('Ignoring unknown message from other instance: %r' % msg[:20])
def current_view(self): def current_view(self):
'''Convenience method that returns the currently visible view ''' '''Convenience method that returns the currently visible view '''