Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix last letter for lks

  • Loading branch information...
commit 57b788d9c1a7510edb0756fbc0a15134318b6f0c 1 parent 0570c20
@jonasschneider authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 abitex/buildpupils.py
View
4 abitex/buildpupils.py
@@ -43,8 +43,6 @@ def md2tex(text) :
smallmeta = ("elgogoli", "ingentjo", "mahlerda", "weberha", "werrnal", "wolffrda", "reinhaca", "schoepre", "werrnal", "meissnna", "mercanze", "winteran", "broderti", "blumesi", "brassro")
verysmallmeta = ("weilerki", "kramerlu")
-print 'Namen zu lang:'
-
class TeXTemplate(Template) :
delimiter = "#"
@@ -108,7 +106,7 @@ class TeXTemplate(Template) :
content["lks"] = common.escape_tex(content["lks"] or "\censor*{7}").strip()
if content["lks"][0:6] == '(IM!) ':
content["meisterpraep"] = "im"
- content["lks"] = content["lks"][6:-1]
+ content["lks"] = content["lks"][6:-1] + content["lks"][-1]
else:
content["meisterpraep"] = "in"
content["lebenswichtig"] = common.escape_tex(content["lebenswichtig"] or "\censor*{7}")
Please sign in to comment.
Something went wrong with that request. Please try again.