Skip to content

Commit

Permalink
Mehr Debugging-Ausgabe wegen Issue #15
Browse files Browse the repository at this point in the history
  • Loading branch information
marians committed Jan 23, 2013
1 parent 966159c commit ba25638
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scrape.py
Expand Up @@ -358,6 +358,8 @@ def get_document_details(dtype, id):
Scrapet die Detailseite eines Antrags (request) oder einer
Vorlage (submission)
"""
if options.verbose:
print "get_document_details('%s', %d) aufgerufen" % (dtype, id)
if int(id) == 0:
print >> sys.stderr, "Fehler: Dokumenten-ID ist 0."
return
Expand Down

0 comments on commit ba25638

Please sign in to comment.