aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/manage.py
diff options
context:
space:
mode:
authorRémy HUBSCHER <hubscher.remy@gmail.com>2020-04-24 12:32:52 +0200
committerGitHub <noreply@github.com>2020-04-24 12:32:52 +0200
commit7587e292fb6b8322891636e785b63425778ab7c6 (patch)
tree4e77900e246f763c9c12b0824228559bd2720c44 /ihatemoney/manage.py
parentabf1eea842284f6e147d9acf25a13c4e0c076e66 (diff)
downloadihatemoney-mirror-7587e292fb6b8322891636e785b63425778ab7c6.zip
ihatemoney-mirror-7587e292fb6b8322891636e785b63425778ab7c6.tar.gz
ihatemoney-mirror-7587e292fb6b8322891636e785b63425778ab7c6.tar.bz2
Remove obsolete python code (<3.6). (#571)
Diffstat (limited to 'ihatemoney/manage.py')
-rwxr-xr-xihatemoney/manage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ihatemoney/manage.py b/ihatemoney/manage.py
index a192844..eb1e24c 100755
--- a/ihatemoney/manage.py
+++ b/ihatemoney/manage.py
@@ -51,7 +51,7 @@ class GenerateConfig(Command):
def run(self, config_file):
env = create_jinja_env("conf-templates", strict_rendering=True)
- template = env.get_template("%s.j2" % config_file)
+ template = env.get_template(f"{config_file}.j2")
bin_path = os.path.dirname(sys.executable)
pkg_path = os.path.abspath(os.path.dirname(__file__))