add argument to enable to create a bucket
also fo t.py
This commit is contained in:
4
t.py
4
t.py
@ -12,7 +12,7 @@ ETERNITY = 1e10
|
||||
|
||||
# token = "zqDbTcMv9UizfdTj15Fx_6vBetkM5mXN56EE9CiDaFsh7O2FFWZ2X4VwAAmdyqZr3HbpIr5ixRju07-oQmxpXw=="
|
||||
|
||||
db = SEHistory(access='write')
|
||||
db = SEHistory(*sys.argv[1:]) # arguments: database, access
|
||||
|
||||
print("""
|
||||
qry([start], [stop], [interval=...,] [last=True,] [columns=[...],] [<tag>=<value>, ] ...)
|
||||
@ -24,7 +24,7 @@ now = int(time.time())
|
||||
result = {}
|
||||
|
||||
|
||||
def prt(maxpoints=7, maxcurves=7):
|
||||
def prt(maxpoints=7, maxcurves=50):
|
||||
for i, (key, curve) in enumerate(result.items()):
|
||||
if i > maxcurves:
|
||||
print('--- ...')
|
||||
|
Reference in New Issue
Block a user