From 8778f4e414a2696c401b712a4d034bcb8f13a16f Mon Sep 17 00:00:00 2001 From: Roman Miroshnychenko Date: Tue, 26 Sep 2017 15:27:02 +0300 Subject: [PATCH] Use keys() method to return a list of dict keys --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 7b7bfec..89587b7 100644 --- a/main.py +++ b/main.py @@ -86,7 +86,7 @@ def get_categories(): :return: The list of video categories :rtype: list """ - return VIDEOS.iterkeys() + return VIDEOS.keys() def get_videos(category):