From 49f59a3b691a78e6a889e4be5076428bd49be4d5 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 30 Apr 2020 22:08:41 +0200 Subject: [PATCH] Updated readme --- README.md | 6 ++---- openmodemconfig.py | 2 +- setup.py | 4 ---- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ba4bc0e..484d23d 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,9 @@ OpenModem Configuration Utility This is the graphical configuration utility for [OpenModem](https://github.com/markqvist/OpenModem). -To download packaged builds, see the [OpenModem page at unsigned.io](https://unsigned.io/openmodem). +To download packaged builds, see the [OpenModem page at unsigned.io](https://unsigned.io/openmodem). Packages are supplied for MacOS, Windows. -Packages are supplied for MacOS, Linux 64-bit and Windows. There is currently no pre-built package for Raspberry Pi, but you can use the instructions below to run it on Raspbian as well. - -If you prefer to run from source, it is very easy to do so: +For Linux and Raspberry Pi the recommended method is to install from this repository, using the following instructions: ```bash # If you don't already have Python3, install it: diff --git a/openmodemconfig.py b/openmodemconfig.py index c555cdc..7762c96 100644 --- a/openmodemconfig.py +++ b/openmodemconfig.py @@ -861,7 +861,7 @@ def load_key(keydata): RNS.log("Loading supplied key onto "+volume_path+"...") try: key = base64.b64decode(keydata) - file = open(volume_path+"aes128.key", "w") + file = open(volume_path+"aes128.key", "wb") file.write(key) file.close() return True diff --git a/setup.py b/setup.py index bd452a5..7a53e22 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,6 @@ import os from setuptools import setup -def tree(src): - return [(root, map(lambda f: os.path.join(root, f), files)) - for (root, dirs, files) in os.walk(os.path.normpath(src))] - APP = ['openmodemconfig.py'] DATA_FILES = [] OPTIONS = {'argv_emulation': False,