From 97c614c74ce87ee0327d4a4a7a00aeec70285724 Mon Sep 17 00:00:00 2001 From: SimpleArt <71458112+SimpleArt@users.noreply.github.com> Date: Sun, 20 Dec 2020 15:53:56 -0500 Subject: [PATCH] Fixed repr format string --- src/structure/population.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/population.py b/src/structure/population.py index ca1db32..13f57b1 100644 --- a/src/structure/population.py +++ b/src/structure/population.py @@ -180,7 +180,7 @@ class Population: which can be evaluated directly as code to create the population. """ - return "EasyGA.make_population({repr(self.chromosome_list)})" + return f"EasyGA.make_population({repr(self.chromosome_list)})" def __str__(self):