pagekite: Fix issue with setting port

- When the current configuration does not contain a port and we try to
  set the port for the frontend server, it fails.  This patch fixes
  that.

- Minor styling and spelling fixes.

- Make sure that if port is not set for frontend, it will be set on
  saving the form.
This commit is contained in:
Sunil Mohan Adapa committed 2015-10-11 17:54:26 +05:30
1 parent aad69deb6e
commit 670be77b9a
2 files changed
+13 -9

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ def parse_arguments():
subparsers.add_parser('stop-and-disable', help='Disable PageKite service')
subparsers.add_parser('restart', help='Restart PageKite service')
subparsers.add_parser('is-disabled',
help=('Wether PageKite is disabled in the file '
help=('Whether PageKite is disabled in the file '
'/etc/pagekite.d/10_accounts.rc'))
# Frontend