Created
August 1, 2012 08:29
-
-
Save spaghetti-/3225012 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def parse_for_channel(self, row): | |
out = '' | |
for i in row: | |
if(i): | |
out += i[3] + ' ' + i[4].replace('http://', 'www.') + ' (' + str(i[6]) + ') ' | |
# www. to make it clickable in many clients | |
return out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment