Skip to content

Commit c693d9e

Browse files
committed
pylint whitespace, long line fix
1 parent b3a993d commit c693d9e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Drive_a_16x2_LCD_with_the_Raspberry_Pi/Drive_a_16x2_LCD_with_the_Raspberry_Pi.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# SPDX-FileCopyrightText: 2018 Mikey Sklar for Adafruit Industries
22
#
33
# SPDX-License-Identifier: MIT
4-
# Modified by Jonathan Seyfert, 2022-01-22, to keep code from crashing when WiFi or IP is unavailable
4+
# Modified by Jonathan Seyfert, 2022-01-22
5+
# to keep code from crashing when WiFi or IP is unavailable
56
from subprocess import Popen, PIPE
67
from time import sleep, perf_counter
78
from datetime import datetime
@@ -41,7 +42,7 @@ def find_interface():
4142
# find an active IP on the first LIVE network device
4243
def parse_ip():
4344
if interface == 1: # if true, no device is in "state UP", skip IP check
44-
return "not assigned " # display "IP not assigned"
45+
return "not assigned " # display "IP not assigned"
4546
ip = "0"
4647
find_ip = "ip addr show %s" % interface
4748
ip_parse = run_cmd(find_ip)

0 commit comments

Comments
 (0)