From 51961bbba25cc520bd85c60ce3ab80263776378f Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sun, 20 Aug 2017 13:03:40 -0400 Subject: [PATCH] gmusic: Use Unicode literals (#2660) --- beetsplug/gmusic.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beetsplug/gmusic.py b/beetsplug/gmusic.py index 67752ba27..259d2725a 100644 --- a/beetsplug/gmusic.py +++ b/beetsplug/gmusic.py @@ -58,9 +58,9 @@ class Gmusic(BeetsPlugin): def upload(self, lib, opts, args): items = lib.items(ui.decargs(args)) files = [x.path.decode('utf-8') for x in items] - ui.print_('Uploading your files...') + ui.print_(u'Uploading your files...') self.m.upload(filepaths=files) - ui.print_('Your files were successfully added to library') + ui.print_(u'Your files were successfully added to library') def search(self, lib, opts, args): password = config['gmusic']['password'] @@ -76,7 +76,7 @@ class Gmusic(BeetsPlugin): files = mobile.get_all_songs() except NotLoggedIn: ui.print_( - 'Authentication error. Please check your email and password.' + u'Authentication error. Please check your email and password.' ) return if not args: