Skip to content

Commit 9dbf9a4

Browse files
committed
Avoid import failure when version is None.
assertion is just for pyflakes it should never raise any exception.
1 parent fb8ff3e commit 9dbf9a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diffpy/pdfgui/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
from diffpy.pdfgui.version import __version__
2222

2323
# silence the pyflakes syntax checker
24-
assert __version__
24+
assert __version__ or True
2525

2626
# End of file

0 commit comments

Comments
 (0)