Skip to content

Instantly share code, notes, and snippets.

@spaghetti-
Created August 1, 2012 08:29
Show Gist options
  • Save spaghetti-/3225012 to your computer and use it in GitHub Desktop.
Save spaghetti-/3225012 to your computer and use it in GitHub Desktop.
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