mirror of
https://github.com/naruxde/revpicommander.git
synced 2025-11-08 16:43:53 +01:00
Set the use of ssh tunnel to default value for new settings
This commit is contained in:
8
setup.py
8
setup.py
@@ -20,14 +20,13 @@ setup(
|
||||
"zeroconf"
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'revpicommander = revpicommander.revpicommander:main',
|
||||
],
|
||||
'gui_scripts': [
|
||||
'RevPiCommander = revpicommander.revpicommander:main',
|
||||
'revpicommander-gui = revpicommander.revpicommander:main',
|
||||
],
|
||||
},
|
||||
|
||||
platforms=["all"],
|
||||
|
||||
url="https://revpimodio.org/revpipyplc/",
|
||||
license="GPLv3",
|
||||
author="Sven Sager",
|
||||
@@ -40,6 +39,7 @@ setup(
|
||||
"of RevPiPyLoad and do IO checks on your local machine. Developing your\n"
|
||||
"control program is very easy with the developer, upload and debug it\n"
|
||||
"over the network.",
|
||||
keywords=["revpi", "revolution pi", "revpimodio", "plc"],
|
||||
classifiers=[
|
||||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||
],
|
||||
|
||||
@@ -58,7 +58,7 @@ class RevPiSettings:
|
||||
self.port = 55123
|
||||
self.timeout = 5
|
||||
|
||||
self.ssh_use_tunnel = False
|
||||
self.ssh_use_tunnel = True
|
||||
self.ssh_port = 22
|
||||
self.ssh_user = "pi"
|
||||
|
||||
@@ -92,7 +92,7 @@ class RevPiSettings:
|
||||
self.port = self._settings.value("port", 55123, type=int)
|
||||
self.timeout = self._settings.value("timeout", 5, type=int)
|
||||
|
||||
self.ssh_use_tunnel = self._settings.value("ssh_use_tunnel", False, type=bool)
|
||||
self.ssh_use_tunnel = self._settings.value("ssh_use_tunnel", True, type=bool)
|
||||
self.ssh_port = self._settings.value("ssh_port", 22, type=int)
|
||||
self.ssh_user = self._settings.value("ssh_user", "pi", type=str)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user