[rhythmbox] magnatune: supply secrets to libsecret as strings rather than bytes
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] magnatune: supply secrets to libsecret as strings rather than bytes
- Date: Sun, 3 Aug 2014 06:21:30 +0000 (UTC)
commit 02470658fc0185f5038cbeaf2431df13017bd12f
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Aug 3 16:20:55 2014 +1000
magnatune: supply secrets to libsecret as strings rather than bytes
plugins/magnatune/MagnatuneAccount.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/magnatune/MagnatuneAccount.py b/plugins/magnatune/MagnatuneAccount.py
index 97f13ee..77d9c91 100644
--- a/plugins/magnatune/MagnatuneAccount.py
+++ b/plugins/magnatune/MagnatuneAccount.py
@@ -88,7 +88,7 @@ class MagnatuneAccount(object):
return ('none', None, None)
def update(self, username, password):
- secret = '\n'.join((username, password)).encode("utf-8")
+ secret = '\n'.join((username, password))
if secret == self.secret:
print ("Account details not changed")
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]