2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 20:15:44 +00:00

make operators simpler

This commit is contained in:
Matthias
2022-05-15 17:52:23 +02:00
parent af8bddf690
commit 77aeecf23a
12 changed files with 25 additions and 25 deletions

View File

@ -199,7 +199,7 @@ class FileManager:
try:
# Excel import casts number-looking-items into floats, which is annoying
if item == int(item) and not str(item) == str(int(item)):
if item == int(item) and str(item) != str(int(item)):
data[idx] = int(item)
except ValueError:
pass