# HG changeset patch # User Oleksandr Gavenko # Date 1630479302 -10800 # Node ID db3f92fe32953a0515cb236eaa3d9519dd8811bb # Parent ca3d1dd847f388bb47989fbde3af95a2f813f603 Fixed compatibility with Python 2. diff -r ca3d1dd847f3 -r db3f92fe3295 py/gadict.py --- a/py/gadict.py Wed Aug 25 12:30:00 2021 +0300 +++ b/py/gadict.py Wed Sep 01 09:55:02 2021 +0300 @@ -109,7 +109,7 @@ self.col_list = [col] def set_countable(self, countable): - if isinstance(countable, str): + if isinstance(countable, str) or isinstance(countable, unicode): if countable == 'yes': self.countable = True elif countable == 'no':