forked from openlp/openlp
Fix comments and typos
This commit is contained in:
parent
4bacaab205
commit
78d9da5c26
|
@ -479,9 +479,7 @@ class ImpressDocument(PresentationDocument):
|
||||||
|
|
||||||
def create_titles_and_notes(self):
|
def create_titles_and_notes(self):
|
||||||
"""
|
"""
|
||||||
Writes the list of titles (one per slide)
|
Writes the list of titles (one per slide) to 'titles.txt' and the notes to 'slideNotes[x].txt'
|
||||||
to 'titles.txt'
|
|
||||||
and the notes to 'slideNotes[x].txt'
|
|
||||||
in the thumbnails directory
|
in the thumbnails directory
|
||||||
"""
|
"""
|
||||||
titles = []
|
titles = []
|
||||||
|
|
|
@ -496,7 +496,7 @@ class HttpRouter(RegistryProperties):
|
||||||
if current_item:
|
if current_item:
|
||||||
for index, frame in enumerate(current_item.get_frames()):
|
for index, frame in enumerate(current_item.get_frames()):
|
||||||
item = {}
|
item = {}
|
||||||
# Handle text (songs, custom)
|
# Handle text (songs, custom, bibles)
|
||||||
if current_item.is_text():
|
if current_item.is_text():
|
||||||
if frame['verseTag']:
|
if frame['verseTag']:
|
||||||
item['tag'] = str(frame['verseTag'])
|
item['tag'] = str(frame['verseTag'])
|
||||||
|
|
|
@ -79,7 +79,7 @@ class TestImpressController(TestCase, TestMixin):
|
||||||
'The name of the presentation controller should be correct')
|
'The name of the presentation controller should be correct')
|
||||||
|
|
||||||
|
|
||||||
class TestImpressDocumnt(TestCase):
|
class TestImpressDocument(TestCase):
|
||||||
"""
|
"""
|
||||||
Test the ImpressDocument Class
|
Test the ImpressDocument Class
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue