Skip to content

Fix converting empty string to integer error#1

Open
jrjang wants to merge 1 commit into
GunshipPenguin:masterfrom
jrjang:master
Open

Fix converting empty string to integer error#1
jrjang wants to merge 1 commit into
GunshipPenguin:masterfrom
jrjang:master

Conversation

@jrjang

@jrjang jrjang commented May 28, 2019

Copy link
Copy Markdown

Signed-off-by: Jun-Ru Chang jrjang@gmail.com

Signed-off-by: Jun-Ru Chang <jrjang@gmail.com>
@c0des1ayr

Copy link
Copy Markdown

This patch is nice and all, but there's a much simpler fix.
Replace int(ss_get_cell("D", 1)) with int(ss_get_cell("D", 1) or 0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants