<commit_before>class BackupMailer < ActionMailer::Base
  default :from => "Bitcoin Central support <<EMAIL>>"

  def wallet_backup(recipient, wallet)
    mail :to => recipient,
      :subject => "Wallet backup #{DateTime.now.strftime("%d/%m/%Y %H:%M")}"
    
    attachments.inline['bitcoin.png'] = File.read(File.join(Rails.root, "public", "images", "bitcoin.png"))

    attachments["wallet_#{DateTime.now.strftime("%Y_%m_%d_%H_%M.dat.gpg")}"] = File.read(wallet)
  end
end
<commit_msg>Well, it doesn't :/<commit_after>class BackupMailer < ActionMailer::Base
  default :from => "Bitcoin Central support <<EMAIL>>"

  def wallet_backup(recipient, wallet)
    attachments.inline['bitcoin.png'] = File.read(File.join(Rails.root, "public", "images", "bitcoin.png"))

    attachments["wallet_#{DateTime.now.strftime("%Y_%m_%d_%H_%M.dat.gpg")}"] = File.read(wallet)

    mail :to => recipient,
      :subject => "Wallet backup #{DateTime.now.strftime("%d/%m/%Y %H:%M")}"
  end
end

{'fraction_non_alphanumeric': 0.19262295081967212, 'fraction_numerical': 0.0, 'mean_word_length': 4.993865030674846, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5081371', 'n_tokens_mistral': 359, 'n_tokens_neox': 354, 'n_words': 61}