mirror of
https://github.com/acourreges/device.git
synced 2025-07-23 03:43:01 +02:00
fix bug which update fails when there's no rows
This commit is contained in:
@@ -103,7 +103,7 @@ class PartSheet
|
||||
new_row[ key ] = value if (key && ! key.empty?)
|
||||
end
|
||||
|
||||
puts "insert Part: #{ found_row["Parts"]}?"
|
||||
puts "insert Part: #{ new_row["Parts"]} ?"
|
||||
puts " Value=#{ new_row["Value"] } Device=#{ new_row["Device"] } Parts=#{ new_row["Parts"] }"
|
||||
puts "(Y/n)"
|
||||
input = STDIN.gets.chomp
|
||||
|
Reference in New Issue
Block a user