From 2e6611b02729f050f45718209ee95d774785e32c Mon Sep 17 00:00:00 2001 From: jim Date: Mon, 12 Oct 2015 14:53:54 -0500 Subject: [PATCH] #101: Shows the text "Created:" even if there is no creation date --- nd2reader/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nd2reader/interface.py b/nd2reader/interface.py index 05e673f..997bfc1 100644 --- a/nd2reader/interface.py +++ b/nd2reader/interface.py @@ -28,7 +28,7 @@ class Nd2(object): def __repr__(self): return "\n".join(["" % self._filename, - "Created: %s" % self.date if self.date is not None else "Unknown", + "Created: %s" % (self.date if self.date is not None else "Unknown"), "Image size: %sx%s (HxW)" % (self.height, self.width), "Frames: %s" % len(self.frames), "Channels: %s" % ", ".join(["'%s'" % str(channel) for channel in self.channels]),