lpschedule-generator

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

commit 2cf87b3dbbe7159676ea724b031ba8dc3bd0476c
parent 8bb24f30c0aba9b72567dd000fff6004b67abe43
Author: rsiddharth <rsd@gnu.org>
Date:   Sun, 26 May 2019 10:04:30 -0400

lps_gen.py: Update LPiCal.gen_uid.

* lps_gen.py (LPiCal.gen_uid): Use format for formatted string.

Diffstat:
lps_gen.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lps_gen.py b/lps_gen.py @@ -125,8 +125,8 @@ class LPiCal(object): Used for Event object. """ self.ucounter = self.ucounter + 1 - return '%s@LP%s@libreplanet.org' % (str(self.ucounter), - self.lp_year) + return '{}@LP{}@libreplanet.org'.format(str(self.ucounter), + self.lp_year) def get_timeslot(self, s):