File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 20
20
kbd_featherwing .neopixel [0 ] = 0x002244
21
21
22
22
try :
23
- with open ( # pylint: disable=unspecified-encoding
24
- "/sd/tft_featherwing.txt" , "w"
25
- ) as f :
23
+ with open ("/sd/tft_featherwing.txt" , "w" ) as f :
26
24
f .write ("Blinka\n Blackberry Q10 Keyboard" )
27
25
28
- with open ( # pylint: disable=unspecified-encoding
29
- "/sd/tft_featherwing.txt" , "r"
30
- ) as f :
26
+ with open ("/sd/tft_featherwing.txt" , "r" ) as f :
31
27
print (f .read ())
32
28
33
29
except OSError as error :
Original file line number Diff line number Diff line change 13
13
tft_featherwing = tft_featherwing_24 .TFTFeatherWing24 ()
14
14
15
15
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 :
19
17
f .write ("Blinka\n Blackberry Q10 Keyboard" )
20
18
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 :
24
20
print (f .read ())
25
21
26
22
except OSError as error :
You can’t perform that action at this time.
0 commit comments