Skip to content

Commit 747660b

Browse files
author
brentru
committed
fix multiline url split
1 parent d002147 commit 747660b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

MagTag_Twitter/code.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@
2222

2323
# Set up where we'll be fetching data from
2424
DATA_SOURCE = (
25-
"https://api.twitter.com/1.1/statuses/user_timeline.json? \
26-
screen_name=%s&count=1&tweet_mode=extended"
27-
% TWITTER_USERNAME
25+
"https://api.twitter.com/1.1/statuses/user_timeline.json?"
26+
"screen_name=%s&count=1&tweet_mode=extended" % TWITTER_USERNAME
2827
)
2928
TWEET_TEXT = [0, "full_text"]
3029
TWEET_FULL_NAME = [0, "user", "name"]

0 commit comments

Comments
 (0)