aboutsummaryrefslogtreecommitdiff
path: root/python/olm/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/olm/__main__.py')
-rwxr-xr-xpython/olm/__main__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/olm/__main__.py b/python/olm/__main__.py
index 5f78f76..cb7f164 100755
--- a/python/olm/__main__.py
+++ b/python/olm/__main__.py
@@ -10,11 +10,13 @@ import yaml
from . import *
+
def read_base64_file(filename):
"""Read a base64 file, dropping any CR/LF characters"""
with open(filename, "rb") as f:
return f.read().translate(None, "\r\n")
+
def build_arg_parser():
parser = argparse.ArgumentParser()
parser.add_argument("--key", help="Account encryption key", default="")
@@ -291,7 +293,6 @@ def build_arg_parser():
default=sys.stdout)
group_decrypt.set_defaults(func=do_group_decrypt)
-
export_inbound_group = commands.add_parser(
"export_inbound_group",
help="Export the keys for an inbound group session",