#!/usr/bin/python
# -*- coding: utf-8 -*-

import sys    
import sqlite3 as sqlite

sys.path.insert(0, '/usr/lib/python2.7/bridge/') 
from bridgeclient import BridgeClient as bridgeclient
                                                    
value = bridgeclient()                                                                                                          

con = sqlite.connect('/mnt/sd/arduino/db/reef.db')
cur = con.cursor()
cur.execute('INSERT INTO teplota_log (teplota) VALUES(?)', (value.get('teplota'),))
con.commit()
con.close()
f3cd2a5dc191cc87cd3bda58d014afb8c8640814
<mask token>

<mask token>
sys.path.insert(0, '/usr/lib/python2.7/bridge/')
<mask token>
cur.execute('INSERT INTO teplota_log (teplota) VALUES(?)', (value.get(
    'teplota'),))
con.commit()
con.close()

<mask token>
sys.path.insert(0, '/usr/lib/python2.7/bridge/')
<mask token>
value = bridgeclient()
con = sqlite.connect('/mnt/sd/arduino/db/reef.db')
cur = con.cursor()
cur.execute('INSERT INTO teplota_log (teplota) VALUES(?)', (value.get(
    'teplota'),))
con.commit()
con.close()

import sys
import sqlite3 as sqlite
sys.path.insert(0, '/usr/lib/python2.7/bridge/')
from bridgeclient import BridgeClient as bridgeclient
value = bridgeclient()
con = sqlite.connect('/mnt/sd/arduino/db/reef.db')
cur = con.cursor()
cur.execute('INSERT INTO teplota_log (teplota) VALUES(?)', (value.get(
    'teplota'),))
con.commit()
con.close()

#!/usr/bin/python
# -*- coding: utf-8 -*-

import sys    
import sqlite3 as sqlite

sys.path.insert(0, '/usr/lib/python2.7/bridge/') 
from bridgeclient import BridgeClient as bridgeclient
                                                    
value = bridgeclient()                                                                                                          

con = sqlite.connect('/mnt/sd/arduino/db/reef.db')
cur = con.cursor()
cur.execute('INSERT INTO teplota_log (teplota) VALUES(?)', (value.get('teplota'),))
con.commit()
con.close()