[chronojump] In the chronojump importer: updates the JumpRjType correctly (based on the correct table).



commit a656917cec731a3296611f4f754ffad489ea0c58
Author: Carles Pina i Estany <carles pina cat>
Date:   Tue Nov 1 23:07:32 2016 +0100

    In the chronojump importer: updates the JumpRjType correctly (based on the correct table).

 src/chronojump-importer/chronojump_importer.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/chronojump-importer/chronojump_importer.py b/src/chronojump-importer/chronojump_importer.py
index 398d950..b83f400 100755
--- a/src/chronojump-importer/chronojump_importer.py
+++ b/src/chronojump-importer/chronojump_importer.py
@@ -471,7 +471,7 @@ class ImportSession:
 
         jump_rj.update_ids("personID", self.persons77, "uniqueID", "new_uniqueID")
         jump_rj.update_session_ids(self.new_session_id)
-        jump_rj.update_ids("type", self.persons77, "old_name", "new_name")
+        jump_rj.update_ids("type", jump_rj, "old_name", "new_name")
 
         self.destination_db.write(table=jump_rj, matches_columns=None)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]