commit 1751fb724a9f38c47ec663e4b9f9dc59542b916c
parent 5a255e406a578622f074259ece66e9d047d8ac98
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date: Wed, 23 May 2018 17:00:20 +0100
Merge pull request #26 from Sjors/2018/05/python-path
More portable python shebang line
Diffstat:
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/rescan-script.py b/rescan-script.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python3
+#! /usr/bin/env python3
from configparser import ConfigParser, NoSectionError, NoOptionError
from electrumpersonalserver.jsonrpc import JsonRpc, JsonRpcError
@@ -69,4 +69,3 @@ def main():
main()
-
diff --git a/server.py b/server.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python3
+#! /usr/bin/env python3
import socket, time, json, datetime, struct, binascii, ssl, os, os.path
from configparser import ConfigParser, NoSectionError, NoOptionError