aboutsummaryrefslogtreecommitdiffstats
path: root/hlrsync/hlrsync.py
diff options
context:
space:
mode:
Diffstat (limited to 'hlrsync/hlrsync.py')
-rwxr-xr-xhlrsync/hlrsync.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/hlrsync/hlrsync.py b/hlrsync/hlrsync.py
index b2a632b6f..4ff720bee 100755
--- a/hlrsync/hlrsync.py
+++ b/hlrsync/hlrsync.py
@@ -61,11 +61,8 @@ with web:
UPDATE reg_tokens
SET imsi = ?, extension = ?, tmsi = ?, lac = ?
WHERE subscriber_id = ?
- """, (str(subscr['imsi']), subscr['extension'], x['subscriber_id']))
- x['imsi'] = str(subscr['imsi'])
- x['extension'] = subscr['extension']
- x['tmsi'] = subscr['tmsi']
- x['lac'] = subscr['lac']
+ """, (str(subscr['imsi']), subscr['extension'],
+ subscr['tmsi'], subscr['lac'], x['subscriber_id']))
# add missing web_tokens
with web: