Esempio n. 1
0
 def send_to_remote():
     db2 = Database()
     db2.configure()
     if Config.version_notification:
         # Get any new version messages while we are
         # in a seperate thread.
         v.get_version(db=db2)
     if te.have_permission(db=db2):
         # And send the telemetry data.
         te.send(db=db2, cmd=commands, version=__version__)
Esempio n. 2
0
 def send_to_remote():
     db2 = Database()
     db2.configure()
     if Config.version_notification:
         # Get any new version messages while we are
         # in a seperate thread.
         v.get_version(db=db2)
     if te.have_permission(db=db2):
         # And send the telemetry data.
         te.send(db=db2, cmd=commands, version=__version__)
Esempio n. 3
0
 def remote():
     db2 = Database()
     db2.configure()
     te = Telemetry()
     if te.have_permission(db=db2):
         te.send(db=db2, cmd=cmd, version=__version__)
Esempio n. 4
0
 def remote():
     db2 = Database()
     db2.configure()
     te = Telemetry()
     if te.have_permission(db=db2):
         te.send(db=db2, cmd=cmd, version=__version__)