File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -512,10 +512,10 @@ def check_social_media():
512
512
error ("legislators-social-media.yaml" , "Entry for non-current legislator: " + entry ["id" ]["bioguide" ])
513
513
continue
514
514
515
- # Check that if the 'twitter' field is given that 'twitter_id' is also given,
516
- # and vice versa.
517
- if ("twitter" in entry ["social" ]) != ("twitter_id" in entry ["social" ]):
518
- error ("legislators-social-media.yaml" , "Entry has 'twitter' but not 'twitter_id' or vice versa: " + entry ["id" ]["bioguide" ])
515
+ # # Check that if the 'twitter' field is given that 'twitter_id' is also given,
516
+ # # and vice versa.
517
+ # if ("twitter" in entry["social"]) != ("twitter_id" in entry["social"]):
518
+ # error("legislators-social-media.yaml", "Entry has 'twitter' but not 'twitter_id' or vice versa: " + entry["id"]["bioguide"])
519
519
520
520
if "TWITTER_API_BEARER_TOKEN" in os .environ :
521
521
import tweepy
You can’t perform that action at this time.
0 commit comments