diff options
author | Martin Vilcans <martin@librador.com> | 2014-11-05 22:32:43 +0100 |
---|---|---|
committer | Martin Vilcans <martin@librador.com> | 2014-11-05 22:32:43 +0100 |
commit | 617c1ab0ae79984c9e3064c7263422ef2ea808c2 (patch) | |
tree | de489e1e1b25495e5e47d2d1ea77622bd28a4d07 | |
parent | 2d423932c448546692a8e277f0b50eb087886a2d (diff) | |
download | screenplain-617c1ab0ae79984c9e3064c7263422ef2ea808c2.tar.gz |
82 characters in a line: a flagrant PEP8 violation!
-rw-r--r-- | screenplain/export/pdf.py | 10 | ||||
-rwxr-xr-x | setup.py | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/screenplain/export/pdf.py b/screenplain/export/pdf.py index 81fe81b..a22b933 100644 --- a/screenplain/export/pdf.py +++ b/screenplain/export/pdf.py @@ -51,7 +51,7 @@ default_style = ParagraphStyle( leftIndent=0, rightIndent=0, ) -default_centered_style = ParagraphStyle( +centered_style = ParagraphStyle( 'default-centered', default_style, alignment=TA_CENTER, ) @@ -182,10 +182,10 @@ def get_title_page_story(screenplay): title_story = [] title_height = sum(( add_lines(title_story, 'Title', title_style), - add_lines(title_story, 'Credit', default_centered_style, space_before=12), - add_lines(title_story, 'Author', default_centered_style), - add_lines(title_story, 'Authors', default_centered_style), - add_lines(title_story, 'Source', default_centered_style), + add_lines(title_story, 'Credit', centered_style, space_before=12), + add_lines(title_story, 'Author', centered_style), + add_lines(title_story, 'Authors', centered_style), + add_lines(title_story, 'Source', centered_style), )) lower_story = [] @@ -4,7 +4,7 @@ from distutils.core import setup setup( name='screenplain', - version='0.3.2', + version='0.4.0', description='Convert text file to viewable screenplay.', author='Martin Vilcans', author_email='screenplain@librador.com', |