From c5ff542b3b644ed263ec5b2c4144c53c8c7960de Mon Sep 17 00:00:00 2001 From: Orakaro Date: Thu, 29 May 2014 01:15:50 +0900 Subject: [PATCH] verify_credential --- rainbowstream/rainbow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 53c002f..825c0c6 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -153,7 +153,7 @@ def get_decorated_name(): Beginning of every line """ t = Twitter(auth=authen()) - name = '@' + t.statuses.user_timeline()[-1]['user']['screen_name'] + name = '@' + t.account.verify_credentials()['screen_name'] g['decorated_name'] = grey('[') + grey(name) + grey(']: ') -- 2.25.1