Removed a simple pitfall case of a consider-using-in case

This commit is contained in:
naelsondouglas committed 2021-11-02 20:22:33 -03:00
1 parent 61e71e9384
commit 8c72544fdb
1 file changed
+1 -1
+1 -1
View File
@@ -1786,7 +1786,7 @@ def convert_dict(dstname, srcname):
if x <= 0:
data['collins'] = None
elif isinstance(x, str) or isinstance(x, unicode):
if x == '' or x == '0':
if x in ('', '0'):
data['collins'] = None
dst.register(word, data, False)
dst.commit()