AngelBottomless commited on
Commit
dd6fc57
·
verified ·
1 Parent(s): 2d603f3

fix missing save

Browse files
Files changed (1) hide show
  1. commit_difference.py +2 -0
commit_difference.py CHANGED
@@ -76,6 +76,8 @@ def commit_difference(id, difference):
76
  # assert unique, tag should not be iterable
77
  assert not isinstance(tag, list), f"Error: {tag} is iterable"
78
  current_value.append(tag)
 
 
79
  else:
80
  return
81
  def main(filepath="difference_cache.jsonl"):
 
76
  # assert unique, tag should not be iterable
77
  assert not isinstance(tag, list), f"Error: {tag} is iterable"
78
  current_value.append(tag)
79
+ # commit changes
80
+ post_by_id.save()
81
  else:
82
  return
83
  def main(filepath="difference_cache.jsonl"):