Use keys() method to return a list of dict keys

This commit is contained in:
Roman Miroshnychenko 2017-09-26 15:27:02 +03:00
parent 3577070dac
commit 8778f4e414
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ def get_categories():
:return: The list of video categories :return: The list of video categories
:rtype: list :rtype: list
""" """
return VIDEOS.iterkeys() return VIDEOS.keys()
def get_videos(category): def get_videos(category):