Commit 5e51e5f6 authored by Christian Schneider's avatar Christian Schneider
Browse files

Bugfix for device monitor for newer PySQL packages.

parent fd781aca
......@@ -22,7 +22,8 @@ try:
from Monitor.main import Instruments
print('\nHi {user}. You find your Instrument Monitor at:\n{url}'
url='{' +
print('\nHi {user}. No connection to database. You use the library now '
......@@ -92,7 +92,7 @@ class Instruments(db.Model):
name = db.Column('name', db.String(100)) # Device name from IPList
varname = db.Column('varname', db.String(100)) # Device variable name
parameters = db.Column('parameters', db.JSON) # Device specific pars
pckle = db.Column('pckle', db.Binary) # Pickle dump of object
pckle = db.Column('pckle', db.LargeBinary) # Pickle dump of object
user = db.Column('user', db.String(80)) # User of the device
idn = db.Column('identity', db.String(80)) # Identity of the device
channel = db.Column('channel', db.Integer) # Channel
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment