Fix crash when genre is null

This commit is contained in:
prpr 2021-02-24 14:46:37 +00:00 committed by HummyPkg
parent ad150143a8
commit 67afb37f27

View File

@ -817,7 +817,8 @@ ts method tsr {} {
}
ts method genrenib {} {
return $($genre >> 4)
if {[catch {set v $($genre >> 4)}]} { set v 0 }
return $v
}
ts method genre_info {} {