1. Benjamin Althues
  2. DisPass

Commits

Benjamin Althues  committed 9381a22

Fix setting divlen in filehandler

  • Participants
  • Parent commits ac2f9f8
  • Branches master

Comments (0)

Files changed (1)

File dispass/filehandler.py

View file
 
             labelfile += ('{label:{divlen}}  {options}\n'
                           .format(label=label[0], options=options,
-                                  divlen=len(self.longest_label)))
+                                  divlen=self.longest_label))
         try:
             self.filehandle = open(self.file_location, 'w')
             self.filehandle.write(labelfile)