From 211038ff37ec9af0e4ccc56bffec34c8a8f1366e Mon Sep 17 00:00:00 2001
From: Hugo Trentesaux <hugo@trentesaux.fr>
Date: Fri, 17 Jul 2020 20:20:02 +0200
Subject: [PATCH] [fix] python3.5 backward compatibility

---
 duniterpy/localblockchain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/duniterpy/localblockchain.py b/duniterpy/localblockchain.py
index 3cff1031..8c88322b 100644
--- a/duniterpy/localblockchain.py
+++ b/duniterpy/localblockchain.py
@@ -31,7 +31,7 @@ class JsonBlockchain:
     def parsechunk(self):
         """parse a json chunk file"""
         with open(
-            os.path.join(self.folder, f"chunk_{self.current_chunk}-250.json")
+            os.path.join(self.folder, "chunk_" + str(self.current_chunk) + "-250.json")
         ) as f:
             s = f.read()
             p = json.loads(s)
-- 
GitLab