about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-10-15 18:26:32 +0530
committerAndinus <andinus@nand.sh>2020-10-15 18:26:32 +0530
commitbb75f71105233f6a197ae2945e524132376a89fb (patch)
tree187aa0d40afa263fc815f8ecab0d52a789646138
parent5924071b7c85e90f37b61ddfb755483686de76a1 (diff)
downloadleo-bb75f71105233f6a197ae2945e524132376a89fb.tar.gz
Add new option in config v0.2.1
-rwxr-xr-xleo.pl2
-rw-r--r--share/leo.conf3
2 files changed, 4 insertions, 1 deletions
diff --git a/leo.pl b/leo.pl
index 074223a..01708ad 100755
--- a/leo.pl
+++ b/leo.pl
@@ -70,7 +70,7 @@ $backup_dir .= "/$ymd";
 path($backup_dir)->mkpath; # Create backup directory.
 
 my $gpg_fingerprint = $options{gpg_fingerprint} || "`nil'";
-my @gpg_recipients = split / /, $options{gpg_recipient};
+my @gpg_recipients = split / /, $options{gpg_recipients};
 my $gpg_bin = $options{gpg_bin} || "gpg";
 
 # Print help.
diff --git a/share/leo.conf b/share/leo.conf
index 3256d9a..8ccfb02 100644
--- a/share/leo.conf
+++ b/share/leo.conf
@@ -1,6 +1,9 @@
 backup_dir = /home/andinus/backups
 
 gpg_fingerprint = D9AE4AEEE1F1B3598E81D9DFB67D55D482A799FD
+# You don't have to include your key in gpg_recipients, it's added by
+# default. Add multiple keys seperated by a space.
+gpg_recipients = D9AE4AEEE1F1B3598E81D9DFB67D55D482A799FD
 gpg_bin = gpg2
 
 signify_seckey = /home/andinus/.totally_not_my_key.sec
#fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
"""
    Setup library for the package.
"""
from setuptools import find_packages, setup

setup(
    name='discobra',
    packages=find_packages(include=['discord']),
    version='0.0.1',
    description='A fast, easy to use Discord API wrapper.',
    author='mounderfod, mjk134',
    license='MIT',
)