View Single Post
Old 11-04-2020, 05:44 PM   #4810
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,012
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I assume you got a "invalid literal for int() with base 10: ' '" error. Which is perfectly true--it's not.

And knowing you, I doubt you'll happy with the easy answer: Use "0".

FFF deliberately skips setting custom int/float columns to empty string values (''). Probably to 'do the right thing' on update when a user has manually populated a column with a value that particular story or site doesn't have. Which makes me reluctant to change the existing behavior.

How many other people would find the ability to explicitly set a column to empty string (or None, which appears equivalent) useful?

Or would prefer if empty metadata values in general would also blank int/float instead of leave them?
JimmXinu is offline   Reply With Quote