From 9d1616ebf847471786b1f82c59cf298ec24c5df4 Mon Sep 17 00:00:00 2001 From: Sergey Morozov Date: Tue, 19 Sep 2017 21:37:26 +0300 Subject: [PATCH] Move config.py to config-example.py, add README. --- .gitignore | 3 ++- README | 1 + config-example.py | 14 ++++++++++++++ config.py | 28 ---------------------------- 4 files changed, 17 insertions(+), 29 deletions(-) create mode 100644 README create mode 100644 config-example.py delete mode 100644 config.py diff --git a/.gitignore b/.gitignore index d5e4f15..3966a0b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -**/__pycache__ \ No newline at end of file +**/__pycache__ +/config.py diff --git a/README b/README new file mode 100644 index 0000000..1b0a560 --- /dev/null +++ b/README @@ -0,0 +1 @@ +Move config-example.py to config.py and edit it. diff --git a/config-example.py b/config-example.py new file mode 100644 index 0000000..b60ef5e --- /dev/null +++ b/config-example.py @@ -0,0 +1,14 @@ +displays = [ + { + 'address': '192.168.0.1', + 'id': 1 + }, + { + 'address': '192.168.0.2', + 'id': 2 + }, + { + 'address': '192.168.0.3', + 'id': 3 + } + ] diff --git a/config.py b/config.py deleted file mode 100644 index 5c94dfe..0000000 --- a/config.py +++ /dev/null @@ -1,28 +0,0 @@ -# Example: -# displays = [ -# { -# 'address': '192.168.0.1', -# 'id': 1 -# }, -# { -# 'address': '192.168.0.2', -# 'id': 2 -# }, -# { -# 'address': '192.168.0.3', -# 'id': 3 -# } -# ] - - - -displays = [ - { - 'address': '10.106.102.116', - 'id': 1 - }, - { - 'address': '192.168.12.34', - 'id': 3 - } - ]