To receive notifications about scheduled maintenance, please subscribe to the mailing-list You can subscribe to the mailing-list at

Commit 623f576b authored by matthmey's avatar matthmey
Browse files

Merge remote-tracking branch 'shadow/develop'

parents fbdbe7a4 ce47f731
......@@ -1058,9 +1058,7 @@ class MHDSLRImages(MHDSLRFilenames):
times = []
for timestamp, element in filenames.iterrows():
key = element.filename
img =["store"][key]))
img = np.array(img.convert("RGB"))
img_base64 = base64.b64encode(img.tobytes())
img_base64 = base64.b64encode(self.config["store"][key])
......@@ -196,9 +196,8 @@ def test_mhdslrimage():
from PIL import Image
img ="2017-08-06", "20170806_095212.JPG"))
img_base64 = base64.b64encode(img.tobytes())
with open(base_dir.joinpath("2017-08-06", "20170806_095212.JPG"), "rb") as image_file:
img_base64 = base64.b64encode(
assert data[0].values == img_base64
# Check a period where there is no image
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment