menus/editing: print positive number on adjusting stock down

This commit is contained in:
2026-05-31 22:55:24 +09:00
parent 8f00777607
commit 8dbb7e6787
+1 -1
View File
@@ -190,7 +190,7 @@ class AdjustStockMenu(Menu):
if add_stock > 0:
print(f"You added {add_stock:d} to the stock of {product}")
else:
print(f"You removed {add_stock:d} from the stock of {product}")
print(f"You removed {(add_stock * -1):d} from the stock of {product}")
product.stock += add_stock