Skip to content

Commit

Permalink
update_seguimientos class need self.socket
Browse files Browse the repository at this point in the history
  • Loading branch information
aniversarioperu committed Sep 24, 2014
1 parent 8b31fb0 commit e7c76b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion proyectos_de_ley/pdl/management/commands/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def extract_pdf_url(self, expediente, codigo):
return ''

def get_seguimientos(self, soup):
"""Parses a ``seguimiento_page`` as BeautifulSoup objetct and returns
"""Parses a ``seguimiento_page`` as BeautifulSoup object and returns
a list of events extracted from the ``Seguimiento:`` section.
:param: BeautifulSoup object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class Command(ScraperCommand):
)
def handle(self, *args, **options):
self.tor = False
self.mysocket = ""

proyectos = Proyecto.objects.all()
for i in proyectos:
Expand Down

0 comments on commit e7c76b0

Please sign in to comment.