script/lib/iri_tweet/tweet_twitter_user.py
changeset 286 6ac68295defe
parent 255 500cd0405c7a
child 289 a5eff8f2b81d
--- a/script/lib/iri_tweet/tweet_twitter_user.py	Tue Sep 20 11:20:20 2011 +0200
+++ b/script/lib/iri_tweet/tweet_twitter_user.py	Tue Sep 20 16:33:42 2011 +0200
@@ -54,7 +54,7 @@
     
     set_logging(options)
         
-    logger.debug("OPTIONS : " + repr(options)) #@UndefinedVariable
+    get_logger().debug("OPTIONS : " + repr(options)) #@UndefinedVariable
 
     if not options.message or len(options.message) == 0:
         sys.exit()
@@ -112,7 +112,7 @@
                 screen_name = user.screen_name
                 
                 message = u"@%s: %s" % (screen_name, base_message)
-                get_logger.debug("new status : " + message) #@UndefinedVariable
+                get_logger().debug("new status : " + message) #@UndefinedVariable
                 if not options.simulate:
                     t.statuses.update(status=message)
                     user_message = UserMessage(user_id=user.id, message_id=message_obj.id)