1. Mike Bayer
  2. sliderepl

Commits

Mike Bayer  committed efa7653

- add comments inside of no-clear slides

  • Participants
  • Parent commits ee16dcf
  • Branches default

Comments (0)

Files changed (1)

File sliderepl/core.py

View file
             if number == 'end':
                 break
             slide = cls.Slide(deck, file=fh.name, index=len(deck.slides) + 1)
-            has_body = False
             for option in opts and a_re.split(opts) or []:
                 setattr(slide, option.strip(), True)
+            has_body = getattr(slide, 'no_clear', False)
 
     def show_banner(self):
         print self.banner