formatting food as monospace to it can be copied easily

Signed-off-by: klux2 <k.lux.gm@gmail.com>
This commit is contained in:
klux2 2019-05-08 18:37:32 +02:00
parent a3ce417523
commit d54be95d88

View file

@ -22,9 +22,9 @@ class Essen:
def __str__(self): def __str__(self):
if self.preis > 0: if self.preis > 0:
return str("*%s*: %s (%.2f €)" % (self.kategorie, self.name, self.preis)) return str("*%s*: `%s` (%.2f €)" % (self.kategorie, self.name, self.preis))
else: else:
return str("*%s*: %s" % (self.kategorie, self.name)) return str("*%s*: `%s`" % (self.kategorie, self.name))
config_filename = "config.json" config_filename = "config.json"