changeset 6b0a5b3ed10c in modules/web_shortener:default
details:
https://hg.tryton.org/modules/web_shortener?cmd=changeset;node=6b0a5b3ed10c
description:
Fix typo shortner -> shortener
diffstat:
doc/index.rst | 2 +-
web.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 68556c480d58 -r 6b0a5b3ed10c doc/index.rst
--- a/doc/index.rst Sat Mar 30 17:35:04 2019 +0100
+++ b/doc/index.rst Sat Mar 30 17:57:44 2019 +0100
@@ -29,5 +29,5 @@
- `[web]`:
- - `shortner_base`: The base URL without path for shortened URL.
+ - `shortener_base`: The base URL without path for shortened URL.
The default value is composed with the configuration `[web]` `hostname`.
diff -r 68556c480d58 -r 6b0a5b3ed10c web.py
--- a/web.py Sat Mar 30 17:35:04 2019 +0100
+++ b/web.py Sat Mar 30 17:57:44 2019 +0100
@@ -17,7 +17,7 @@
USE_SSL = bool(config.get('ssl', 'certificate'))
ALPHABET = string.digits + string.ascii_lowercase
-URL_BASE = config.get('web', 'shortner_base',
+URL_BASE = config.get('web', 'shortener_base',
default=urlunsplit(
('http' + ('s' if USE_SSL else ''), HOSTNAME, '', '', '')))
logger = logging.getLogger(__name__)