Permalink
Browse files

Update scraper.py

  • Loading branch information...
danozgriff committed May 13, 2016
1 parent bd3a343 commit c9d9d31c5f4e8439775252b5104308790b584b92
Showing with 13 additions and 13 deletions.
  1. +13 −13 scraper.py
View
@@ -124,19 +124,19 @@
#print loc
while alignment==0:
if loc >= HeadersList[colcnt]-5 and loc <= HeadersList[colcnt]+5:
lineout = lineout + obj + ','
colcnt=colcnt+1
alignment=1
else:
print 'NO VALUE'
lineout = lineout + ','
colcnt=colcnt+1
if colcnt > 13:
print lineout[:-1]
colcnt = 0
lineout=''
if loc >= HeadersList[colcnt]-5 and loc <= HeadersList[colcnt]+5:
lineout = lineout + obj + ','
colcnt=colcnt+1
alignment=1
else:
print 'NO VALUE'
lineout = lineout + ','
colcnt=colcnt+1
if colcnt > 13:
print lineout[:-1]
colcnt = 0
lineout=''
cnt=cnt+1
alignment=0

0 comments on commit c9d9d31

Please sign in to comment.