diff --git a/appconfig.py b/appconfig.py index 161299b..b2fe416 100644 --- a/appconfig.py +++ b/appconfig.py @@ -2,7 +2,7 @@ import os import sys from base64 import urlsafe_b64encode -VERSION = '1.0.0' +VERSION = '1.0.1' base_url = "https://api.monerosms.com/" proxies = {} diff --git a/monero-sms.py b/monero-sms.py index 8828b44..9c7dd36 100755 --- a/monero-sms.py +++ b/monero-sms.py @@ -59,7 +59,7 @@ def menu(): print("You are not permitted to use the service unless you agree.") return None with open(auth_file, 'wb') as f: - f.write(urlsafe_b64encode(os.urandom(32)).replace('=', '')) + f.write(urlsafe_b64encode(os.urandom(32)).replace(b'=', b'')) print(f'Account number generated {auth_file}') print('Back it up to keep access to your account') return None