Skip to content

Commit

Permalink
Fix bug where prefix weren't written
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Mar 7, 2016
1 parent e130e0f commit 0e419d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pagelabels/pagelabelscheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def pdfobjs(self):
entry of a pdf"""
pagenum = PdfObject(self.startpage)
opts = PdfDict(S=styles[self.style])
if self.style != defaults["style"]:
if self.prefix != defaults["prefix"]:
opts.P = PdfString.encode(self.prefix)
if self.firstpagenum != defaults["firstpagenum"]:
opts.St = PdfObject(self.firstpagenum)
Expand Down

0 comments on commit 0e419d0

Please sign in to comment.