On 8/29/2017 11:22 AM, shazianu...@gmail.com wrote:
def getvideos(self, listitem):
channelId = ""
returnVideos,dictData = {},{}
mode = 0
channelId = listitem[KEY_CHANNELID]
if KEY_CHANNELMODE in listitem :
mode = int(listitem[KEY_CHANNELMODE])
filteredVideos = []
...
Please make code readable by indenting properly, *with spaces*.
Guessing at what you meant:
def getvideos(self, listitem):
channelId = ""
returnVideos,dictData = {},{}
mode = 0
channelId = listitem[KEY_CHANNELID]
if KEY_CHANNELMODE in listitem :
mode = int(listitem[KEY_CHANNELMODE])
filteredVideos = [].
...
If you posted with tab indents, they disappeared, as is common with
news/mail.
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list