Skip to content

Commit d6361c1

Browse files
authored
Merge pull request #1657 from lesamouraipourpre/iot-party-parrot
IoT Party Parrot: Update for CP7
2 parents e7f1aba + 77a633b commit d6361c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IoT_Party_Parrot/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
bear = secrets['bearer_token']
1919

2020
# query URL for tweets. looking for hashtag partyparrot sent to a specific username
21-
DATA_SOURCE = ('https://api.twitter.com/2/tweets/search/recent?query=#partyparrot to:blitzcitydiy')
21+
DATA_SOURCE = 'https://api.twitter.com/2/tweets/search/recent?query=#partyparrot to:blitzcitydiy'
2222
# json data path to get most recent tweet's ID number
2323
DATA_LOCATION = ["meta", "newest_id"]
2424

@@ -33,7 +33,7 @@
3333
matrix = Matrix(width=32, height=32)
3434
display = matrix.display
3535

36-
group = displayio.Group(max_size=20)
36+
group = displayio.Group()
3737

3838
# load in party parrot bitmap
3939
parrot_bit, parrot_pal = adafruit_imageload.load("/partyParrotsTweet.bmp",

0 commit comments

Comments
 (0)