Skip to content

Commit cc45722

Browse files
committed
dev commit
1 parent 9775509 commit cc45722

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

examples/logging_and_report/generic_pipe_0e7b8360.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ def __init__(self, id, config, inputData, return_queue, cmd_queue):
1313

1414
def execute(self):
1515

16-
17-
18-
19-
# Raspberry Pi Only
16+
# Raspberry Pi only
2017
#cpu_temp = os.popen("vcgencmd measure_temp").readline().replace("temp=", "").replace("'C\n", "")
2118
#cpu_temp = float(cpu_temp)
2219

@@ -26,14 +23,5 @@ def execute(self):
2623

2724
output = 'INSERT INTO my_table VALUES ({}, {})'.format(int(time.time()), cpu_temp)
2825

29-
30-
#########################################
31-
# #
32-
# The execution exits immediately #
33-
# after providing output data #
34-
# #
35-
#########################################
36-
37-
#recordDone = Record('hello123', 'Telegram message send')
3826
recordDone = Record(output)
3927
self.return_queue.put(recordDone)

0 commit comments

Comments
 (0)