From 5a6611219cc2343f9fc8c9e55a2e8c059659cdb1 Mon Sep 17 00:00:00 2001 From: lakshyacis Date: Wed, 25 Sep 2019 17:15:45 +0530 Subject: [PATCH] mpybit fixes --- src/bitmessagekivy/mpybit.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bitmessagekivy/mpybit.py b/src/bitmessagekivy/mpybit.py index cb4c4fda..1b4db996 100644 --- a/src/bitmessagekivy/mpybit.py +++ b/src/bitmessagekivy/mpybit.py @@ -43,7 +43,6 @@ from kivymd.list import ( ILeftBody, ILeftBodyTouch, IRightBodyTouch, - ThreeLineAvatarIconListItem, TwoLineAvatarIconListItem, TwoLineListItem) from kivymd.navigationdrawer import ( @@ -1084,7 +1083,8 @@ class NavigateApp(App): # pylint: disable=too-many-public-methods if platform == 'android': # android_path = os.path.expanduser("~/user/0/org.test.bitapp/files/app/") android_path = os.path.join(os.environ['ANDROID_PRIVATE'] + '/app/') - img.texture.save('{1}/images/default_identicon/{0}.png'.format(BMConfigParser().addresses()[0], android_path)) + img.texture.save('{1}/images/default_identicon/{0}.png'.format( + BMConfigParser().addresses()[0], android_path)) else: img.texture.save('./images/default_identicon/{}.png'.format(BMConfigParser().addresses()[0])) return BMConfigParser().addresses()[0] @@ -1299,7 +1299,7 @@ class NavigateApp(App): # pylint: disable=too-many-public-methods class GrashofPopup(Popup): """Methods for saving contacts, error messages.""" - def __init__(self, **kwargs): + def __init__(self, **kwargs): # pylint: disable=useless-super-delegation """Grash of pop screen settings.""" super(GrashofPopup, self).__init__(**kwargs) @@ -1557,7 +1557,7 @@ class MyaddDetailPopup(Popup): address_label = StringProperty() address = StringProperty() - def __init__(self, **kwargs): + def __init__(self, **kwargs): # pylint: disable=useless-super-delegation """My Address Details screen setting.""" super(MyaddDetailPopup, self).__init__(**kwargs) @@ -1589,7 +1589,7 @@ class AddbookDetailPopup(Popup): address_label = StringProperty() address = StringProperty() - def __init__(self, **kwargs): + def __init__(self, **kwargs): # pylint: disable=useless-super-delegation """Method used set screen of address detail page.""" super(AddbookDetailPopup, self).__init__(**kwargs)