summaryrefslogtreecommitdiff
path: root/notmuch-slurp-debbug
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-05-11 15:25:35 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-05-11 15:25:35 -0700
commit75df035544868a65e2a3d5603e65fc6f578e1550 (patch)
treeb8b0cfde404dcb0dd84e5b986f5107ae560b7b9c /notmuch-slurp-debbug
parentc92a2b7d7aa9467e9ff69643ee46874dfb9eb829 (diff)
parentab4acbc313dc1a20e166045e61c603053c4f00dc (diff)
downloadmailscripts-75df035544868a65e2a3d5603e65fc6f578e1550.tar.gz
Merge tag 'debian/0.20-1' into buster-bpo
mailscripts release 0.20-1 for unstable (sid) [dgit] [dgit distro=debian no-split --quilt=linear] # gpg: Signature made Tue 05 May 2020 10:57:07 AM MST # gpg: using RSA key 9B917007AE030E36E4FC248B695B7AE4BF066240 # gpg: Good signature from "Sean Whitton <spwhitton@spwhitton.name>" [ultimate] # Primary key fingerprint: 8DC2 487E 51AB DD90 B5C4 753F 0F56 D055 3B6D 411B # Subkey fingerprint: 9B91 7007 AE03 0E36 E4FC 248B 695B 7AE4 BF06 6240
Diffstat (limited to 'notmuch-slurp-debbug')
-rwxr-xr-xnotmuch-slurp-debbug3
1 files changed, 1 insertions, 2 deletions
diff --git a/notmuch-slurp-debbug b/notmuch-slurp-debbug
index c187596..ad0db47 100755
--- a/notmuch-slurp-debbug
+++ b/notmuch-slurp-debbug
@@ -43,8 +43,7 @@ my $maildir;
my $conf_r = $ENV{XDG_CONFIG_HOME} || catfile $ENV{HOME}, ".config";
my $conf_f = catfile $conf_r, "mailscripts", "notmuch-slurp-debbug";
if (-f $conf_f) {
- my $Config = Config::Tiny::read($conf_f);
- $maildir = $Config->{_}->{maildir};
+ $maildir = Config::Tiny->new->read($conf_f)->{_}->{maildir};
} else {
# default to where a lot of people have their inbox
chomp(my $database_path = `notmuch config get database.path`);