formatting food as monospace to it can be copied easily
Signed-off-by: klux2 <k.lux.gm@gmail.com>
This commit is contained in:
parent
a3ce417523
commit
d54be95d88
1 changed files with 2 additions and 2 deletions
|
@ -22,9 +22,9 @@ class Essen:
|
|||
|
||||
def __str__(self):
|
||||
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:
|
||||
return str("*%s*: %s" % (self.kategorie, self.name))
|
||||
return str("*%s*: `%s`" % (self.kategorie, self.name))
|
||||
|
||||
|
||||
config_filename = "config.json"
|
||||
|
|
Loading…
Reference in a new issue