Merge pull request '更新 main.py' (#40) from ruler229-patch-4 into master

Reviewed-on: #40
This commit is contained in:
Ruler229 2025-05-23 14:55:50 +08:00
commit 35d1939d0b

View File

@ -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]))