Skip to content

Commit

Permalink
fix recent bug in glossary.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Dec 31, 2024
1 parent ba7fe87 commit cf1dd92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion pyglossary/glossary.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,12 @@ def read(

self._progressbar = progressbar

return self._read(
self._read(
filename=filename,
direct=direct,
**kwargs,
)
return True

def addEntryObj(self, entry: EntryType) -> None:
self._data.append(entry)
Expand Down
10 changes: 5 additions & 5 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ rootDirAbs=$(realpath $rootDir)

echo "$rootDir/tests"
cd "$rootDir/tests"
# # python -m unittest *_test.py
# for F in *_test.py; do
# echo "$F"
# python -m unittest "$F"
# done
# python -m unittest *_test.py
for F in *_test.py; do
echo "$F"
python -m unittest "$F"
done

echo "$rootDirAbs/tests/deprecated/"
cd "$rootDirAbs/tests/deprecated/"
Expand Down

0 comments on commit cf1dd92

Please sign in to comment.