caused trouble when writing ASCII table to stdout

This commit is contained in:
Martin Diehl 2017-02-05 17:19:47 +01:00
parent a854d2f416
commit 947858d192
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# -*- coding: UTF-8 no BOM -*-
"""Main aggregator"""
import os
import os,sys
with open(os.path.join(os.path.dirname(__file__),'../../VERSION')) as f:
version = f.readline()[:-1]
@ -11,7 +11,7 @@ from .asciitable import ASCIItable # noqa
try:
from .h5table import H5Table # noqa
except ImportError:
print("h5py module not found")
sys.stderr.write("h5py module not found")
from .config import Material # noqa
from .colormaps import Colormap, Color # noqa
from .orientation import Quaternion, Rodrigues, Symmetry, Orientation # noqa