Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

hot-fixes during deployment of script

  • Loading branch information...
commit 105d1034317ecd049828e27f21370925e2171432 1 parent e8c5069
@msenateatplos msenateatplos authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 parser.py
  2. +2 −2 signature_tweeter.py
View
4 parser.py
@@ -81,7 +81,7 @@ def get_soup(self, page_num, page):
logger.debug("requesting %s" % wh_url)
try:
r = requests.get(wh_url, timeout = 3)
- except Timeout:
+ except:
print "THREAD: parser: requests.get() timed out"
logger.warning("request to %s timed out" % wh_url)
return -1
@@ -152,7 +152,7 @@ def parse_entry(self, entry, page):
else:
print "No last initials provided"
logger.debug("No last initials provided\n")
- print "\n" + clean_name
+ print "\n" + clean_name.encode('utf-8')
logger.debug("name: " + clean_name.encode('utf-8'))
# break up details into component pieces
View
4 signature_tweeter.py
@@ -41,8 +41,8 @@ def get(self):
parser_thread.start()
tweetbot.start()
-raw_input("Press enter to end . . .")
-exit_event.set()
+#raw_input("Press enter to end . . .")
+#exit_event.set()
print "exiting . . ."
parser_thread.join()
Please sign in to comment.
Something went wrong with that request. Please try again.