lpschedule-generator

libreplanet schedule generator - ricketyspace.net/lpschedule-generator
git clone git://git.ricketyspace.net/lpschedule-generator.git
Log | Files | Refs

commit 8eac96fded37d57fdb07e1c9544767e2df07a8d7
parent ee482a333f680c1277509403ae6dc9a12280b0ee
Author: rsiddharth <rsd@gnu.org>
Date:   Sun, 26 May 2019 14:38:15 -0400

Update LPSRenderer.link.

* lps_gen.py (LPSRenderer.link): Use format for formatted string.

Diffstat:
lps_gen.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lps_gen.py b/lps_gen.py @@ -372,7 +372,7 @@ class LPSRenderer(Renderer): # Here, `text` is the speaker' name. id_ = self.get_uid(text) if id_: - link = 'speakers.html#%s' % id_ + link = 'speakers.html#{}'.format(id_) else: # Oh no, there is no id for this speaker. self.speakers_noids.append(text)