findings don't get printed
Closed this issue · 1 comments
mtib commented
if len(hacks_result):
print "\n"
for i in hacks_result:
print "Title : "+i['Title']
print "URL : "+i['URL']
print "Starts on : "+i['Starts on']
if i['Ends on']:
print "Ends on : "+i['Ends on']
print "Location : "+i['location']
print "-----------------------------------------------------------------"
if len(hacks_result)==0: # even if this finds something, it won't get printed
print "Looking for Hackathons in %s, %s..." % (region, country)
runLists(region)
runLists(country)
if len(hacks_result)==0:
print "Looking for Hackathons in %s..." % (country)
runLists(country)
if len(hacks_result)==0:
print "We couldn't find hackathons in %s, %s.\nTry refining the search location Or try the command, 'hacks locationName'.\nEg: hacks California" % (city, country)
the bug is in everything after my comment. I am assigning myself to that bug, I might not finish work on it today, (I am prototyping the socket idea).
waseem18 commented
Sure 👍