File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313from modules .rec_log import log_api , hash_data
1414
15- if settings .Pi :
15+ if settings .IS_PI :
1616 from modules import rec_gpio
1717 from settings import LED_IO
1818
@@ -138,7 +138,7 @@ def link_hub():
138138 json .dump (system_data , file )
139139 file .truncate ()
140140
141- if settings .Pi :
141+ if settings .IS_PI :
142142 rec_gpio .state (LED_IO , 1 )
143143 except OSError as err :
144144 log_api .error ("link_hub - Unable to open file system.json - %s" , err )
Original file line number Diff line number Diff line change 1212
1313from modules .rec_log import network_log
1414
15- if settings .Pi :
15+ if settings .IS_PI :
1616 from modules import rec_gpio
1717
1818
Original file line number Diff line number Diff line change 33'''Settings file contains "constants" that are unlikely to be changed.'''
44
55DEBUG = True
6- PI = False
6+ IS_PI = False
77
88
99if DEBUG is True :
You can’t perform that action at this time.
0 commit comments