forked from saipo/astrbot_plugin_dajiao
Merge pull request '更新 main.py' (#40) from ruler229-patch-4 into master
Reviewed-on: saipo/astrbot_plugin_dajiao#40
This commit is contained in:
commit
35d1939d0b
2
main.py
2
main.py
@ -61,7 +61,7 @@ class MyPlugin(Star):
|
||||
cur = conn.cursor()
|
||||
time = [];V = [];a = [];b = []
|
||||
for i in range(0,10):
|
||||
time.append(round(random.uniform(1, 600), 2))
|
||||
time.append(round(random.uniform(1, 600), 2)) if i==0 else time.append(round(random.uniform(1, time[i-1]), 2))
|
||||
V.append(round(random.uniform(0.01,100), 2))
|
||||
a.append(time_long(time[i]))
|
||||
b.append(volume(V[i]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user