remove commented code
This commit is contained in:
parent
5b4520318f
commit
ecd2648372
12
dmrlink.py
12
dmrlink.py
@ -600,19 +600,11 @@ if REPORTS['REPORT_NETWORKS'] == 'PICKLE':
|
|||||||
file.close()
|
file.close()
|
||||||
except IOError as detail:
|
except IOError as detail:
|
||||||
logger.error('I/O Error: %s', detail)
|
logger.error('I/O Error: %s', detail)
|
||||||
|
|
||||||
'''
|
|
||||||
JSON DOES NOT WORK, AND MAY NEVER... NEED TO FIX IT OR REMOVE IT
|
|
||||||
elif REPORTS['REPORT_NETWORKS'] == 'JSON':
|
elif REPORTS['REPORT_NETWORKS'] == 'JSON':
|
||||||
def reporting_loop():
|
def reporting_loop():
|
||||||
logger.info('Periodic Reporting Loop Started (JSON)')
|
logger.info('Periodic Reporting Loop Started (JSON)')
|
||||||
try:
|
|
||||||
with open(REPORTS['REPORT_PATH']+'dmrlink_stats.json', 'wb') as file:
|
|
||||||
pass
|
|
||||||
file.close()
|
|
||||||
except IOError as detail:
|
|
||||||
logger.error('I/O Error: %s', detail)
|
|
||||||
'''
|
|
||||||
elif REPORTS['REPORT_NETWORKS'] == 'REDIS':
|
elif REPORTS['REPORT_NETWORKS'] == 'REDIS':
|
||||||
def reporting_loop():
|
def reporting_loop():
|
||||||
logger.debug('Periodic Reporting Loop Started (REDIS)')
|
logger.debug('Periodic Reporting Loop Started (REDIS)')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user