Commits

Benjamin Althues committed 9381a22

Fix setting divlen in filehandler

Comments (0)

Files changed (1)

dispass/filehandler.py

 
             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)