twitter #2
@ -21,7 +21,6 @@ def create_app():
|
||||
twitter_db.init_app(app)
|
||||
campaign_db.init_app(app)
|
||||
|
||||
twitter_db.drop_all(app=app)
|
||||
twitter_db.create_all(app=app)
|
||||
campaign_db.drop_all(app=app)
|
||||
campaign_db.create_all(app=app)
|
||||
|
@ -13,7 +13,7 @@ def get_twitter_accounts():
|
||||
|
||||
for account in twitter_accounts:
|
||||
account_data = {}
|
||||
account_data['twitter_user_id'] = account.twitter_user_id
|
||||
account_data['twitter_account_id'] = account.twitter_account_id
|
||||
account_data['username'] = account.username
|
||||
accounts.append(account_data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user