From 65386c580aa7cd97599724b996fd3c558ee937fe Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Mon, 12 Sep 2022 14:05:22 +0200 Subject: [PATCH] Fix warning --- d3/model/formats/obj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d3/model/formats/obj.py b/d3/model/formats/obj.py index 9783883..26ec05d 100644 --- a/d3/model/formats/obj.py +++ b/d3/model/formats/obj.py @@ -55,7 +55,7 @@ class OBJParser(TextModelParser): for i in range(len(splits)): for j in range(len(splits[i])): - if splits[i][j] is not '': + if splits[i][j] != '': splits[i][j] = int(splits[i][j]) if splits[i][j] > 0: splits[i][j] -= 1