Skip to content

Commit 4aaa324

Browse files
author
Kevin J Walters
committed
keep pylint happy. adafruit#707
1 parent f4249d1 commit 4aaa324

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PyPortal_NASA/nasa.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
import re
12
import time
3+
24
import board
3-
import re
45

56
from adafruit_pyportal import PyPortal
67

@@ -21,7 +22,7 @@
2122

2223
# This translates a url in parsed json for YouTube videos to a url which
2324
# provides a single image for the video
24-
# url with or without translation is added as "TR-url"
25+
# url with or without translation is added as "TR-url"
2526
def youtube_video_to_image(parsed_json):
2627
url = parsed_json.get("url", "")
2728
# use a reasonably flexible regex to extract video id

0 commit comments

Comments
 (0)