diff --git a/gpapi/config.py b/gpapi/config.py index a0a54c0..1f7c944 100644 --- a/gpapi/config.py +++ b/gpapi/config.py @@ -36,8 +36,7 @@ def getDevicesCodenames(): def getDevicesReadableNames(): - """Returns a list of tuples (codename, userReadableName) - for each device""" + """Returns codename and readable name for each device""" sections = getDevicesCodenames() output = [] for s in sections: diff --git a/gpapi/googleplay.py b/gpapi/googleplay.py index 175a9f7..9e5ba41 100644 --- a/gpapi/googleplay.py +++ b/gpapi/googleplay.py @@ -498,3 +498,7 @@ class GooglePlayAPI(object): @staticmethod def getDevicesCodenames(): return config.getDevicesCodenames() + + @staticmethod + def getDevicesReadableNames(): + return config.getDevicesReadableNames()