about summary refs log tree commit homepage
path: root/script
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-07-26 00:46:52 +0000
committerEric Wong <e@80x24.org>2016-07-26 00:46:52 +0000
commit36daec54856edb525ad96a3e92b9380a45763761 (patch)
tree0f77d4ae7d8e791347bed4bf05e856927fee1748 /script
parentb34a7f6a284493c28fb5cf5a96e278fde0725ce2 (diff)
downloadpublic-inbox-36daec54856edb525ad96a3e92b9380a45763761.tar.gz
Oops :x
Diffstat (limited to 'script')
-rwxr-xr-xscript/public-inbox-learn2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-learn b/script/public-inbox-learn
index 09fd7c8f..396ab489 100755
--- a/script/public-inbox-learn
+++ b/script/public-inbox-learn
@@ -57,7 +57,7 @@ foreach my $recipient (keys %dests) {
         my $git = PublicInbox::Git->new($git_dir);
         # We do not touch GIT_COMMITTER_* env here so we can track
         # who trained the message.
-        my $name = $ENV{GIT_COMMITTER_NAME} || $dst->{inbox};
+        my $name = $ENV{GIT_COMMITTER_NAME} || $dst->{name};
         my $email = $ENV{GIT_COMMITTER_EMAIL} || $recipient;
         my $im = PublicInbox::Import->new($git, $name, $email);