Check In
All checks were successful
Potlatch Loggers Organization/ComputerKeeper/pipeline/head This commit looks good

This commit is contained in:
Josh Biltonen 2022-11-10 18:06:40 -08:00
parent cc23a9df5b
commit 4b5e3eb1f0
2 changed files with 7 additions and 2 deletions

View File

@ -1 +1 @@
{"_default": {"1": {"Serial Number": "1", "Brand": "3", "Grade": "4", "Name": "5"}}}
{"_default": {"1": {"Serial Number": "1", "Brand": "3", "Grade": "8", "Name": "9"}}}

View File

@ -136,7 +136,12 @@ def main():
Table = window["table"].get()
print(Table)
for row in Table:
if SN == row[0]:
row[2] = G
row[3] = N
window["table"].update(Table)
query=Query()
db.update({"Grade": G, "Name": N}, query["Serial Number"] == SN)
# Finish up by removing from the screen