From 35f8daee292defebd1212992b41ca546a3091139 Mon Sep 17 00:00:00 2001 From: D0han Date: Sun, 21 Jul 2019 20:19:33 +0200 Subject: [PATCH] Allow openwebrx.py to be run as normal executable --- README.md | 6 +----- csdr.py | 0 openwebrx.py | 2 ++ 3 files changed, 3 insertions(+), 5 deletions(-) mode change 100755 => 100644 csdr.py mode change 100644 => 100755 openwebrx.py diff --git a/README.md b/README.md index 1df5b19..68178af 100644 --- a/README.md +++ b/README.md @@ -90,12 +90,8 @@ Optional Dependency if you want to decode WSJT-X modes: After cloning this repository and connecting an RTL-SDR dongle to your computer, you can run the server: - python openwebrx.py + ./openwebrx.py -You may need to specify the Python version explicitly if your distribution still defaults to Python 2: - - python3 openwebrx.py - You can now open the GUI at http://localhost:8073. Please note that the server is also listening on the following ports (on localhost only): diff --git a/csdr.py b/csdr.py old mode 100755 new mode 100644 diff --git a/openwebrx.py b/openwebrx.py old mode 100644 new mode 100755 index 99b1419..42ea3ba --- a/openwebrx.py +++ b/openwebrx.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + from http.server import HTTPServer from owrx.http import RequestHandler from owrx.config import PropertyManager