6561: v3.4.3 NarWeb creation fails for German, Swedish
svn: r21764
This commit is contained in:
parent
fa265e2a83
commit
023ccd5086
@ -486,6 +486,7 @@ class CommandLineReport(object):
|
|||||||
print (_("Use '%(notranslate)s' to see valid values.") %
|
print (_("Use '%(notranslate)s' to see valid values.") %
|
||||||
{'notranslate' : "show=off"}).encode(sys.getfilesystemencoding())
|
{'notranslate' : "show=off"}).encode(sys.getfilesystemencoding())
|
||||||
|
|
||||||
|
self.paper = paper_sizes[0] # make sure one exists
|
||||||
for paper in paper_sizes:
|
for paper in paper_sizes:
|
||||||
if paper.get_name() == self.options_dict['papers']:
|
if paper.get_name() == self.options_dict['papers']:
|
||||||
self.paper = paper
|
self.paper = paper
|
||||||
|
Loading…
Reference in New Issue
Block a user