eit.py

changeset 9
1bf778001041
parent 6
1420abafd049
child 17
842120f00078
--- a/eit.py	Fri Nov 24 16:16:50 2017 +0100
+++ b/eit.py	Fri Nov 24 23:11:58 2017 +0100
@@ -360,6 +360,8 @@
     Read Eit File and show the information.
     """
     eitlist = eitinfo(eitfile)
+    if len(eitlist.eit) == 0:
+        return None
     out = "Movie name: %s" % eitlist.get_name()
     out += "\nGenre: %s" % eitlist.get_genre()
     out += "\nComponents: %s" % eitlist.get_components()

mercurial