Skip to content

Commit d422a07

Browse files
hi
1 parent e4474e0 commit d422a07

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.idea/workspace.xml

Lines changed: 6 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tweet.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def tweet(twitter_profile, business_id, last_tweet_time):
7373
break
7474

7575
except tweepy.TweepError:
76-
print "Got Exception Please wait for 15 Min to ReConnect"
76+
print "Got Exception Please wait for 15 Min to ReConnect or else the give profile is wrong"
7777
time.sleep(61 * 15)
7878
continue
7979
except StopIteration:
@@ -161,12 +161,9 @@ def alltweets():
161161

162162

163163
"""Enter the twitter Profile """
164-
twitter_profile_name = 'firebrewva'
164+
twitter_profile_name = 'anandstarz'
165165

166166
checkdb(twitter_profile_name)
167167

168168
"""DB connection close"""
169-
con.close()
170-
171-
172-
169+
con.close()

0 commit comments

Comments
 (0)