mirror of
https://github.com/sakaljurgis/plugin.video.sklk.git
synced 2026-07-08 22:17:43 +00:00
Use iterkeys() to iterate dict keys
This commit is contained in:
@@ -84,9 +84,9 @@ def get_categories():
|
|||||||
instead of returning lists.
|
instead of returning lists.
|
||||||
|
|
||||||
:return: The list of video categories
|
:return: The list of video categories
|
||||||
:rtype: list
|
:rtype: types.GeneratorType
|
||||||
"""
|
"""
|
||||||
return VIDEOS.keys()
|
return VIDEOS.iterkeys()
|
||||||
|
|
||||||
|
|
||||||
def get_videos(category):
|
def get_videos(category):
|
||||||
|
|||||||
Reference in New Issue
Block a user