Skip to content

Commit 3a3fc72

Browse files
committed
disabling of unspecified encoding removed from example
1 parent 7534428 commit 3a3fc72

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

examples/featherwing_tft35_simpletest.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,10 @@
1313
tft_featherwing = tft_featherwing_35.TFTFeatherWing35()
1414

1515
try:
16-
with open( # pylint: disable=unspecified-encoding
17-
"/sd/tft_featherwing.txt", "w"
18-
) as f:
16+
with open("/sd/tft_featherwing.txt", "w") as f:
1917
f.write("Blinka\nBlackberry Q10 Keyboard")
2018

21-
with open( # pylint: disable=unspecified-encoding
22-
"/sd/tft_featherwing.txt", "r"
23-
) as f:
19+
with open("/sd/tft_featherwing.txt", "r") as f:
2420
print(f.read())
2521
except OSError as error:
2622
print("Unable to write to SD Card.")

0 commit comments

Comments
 (0)