Skip to content

Commit de8c18f

Browse files
committed
Adjust whitespace to surrounding code
1 parent 3cbad5d commit de8c18f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Contents/Code/__init__.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,24 +53,24 @@ def SetupUrls(sitetype, base, lang='en'):
5353

5454
# manual selection of site by url
5555
if sitetype:
56-
Log('Manual Site Selection Enabled : %s', base)
57-
Log('Language being ignored due to manual site selection')
58-
if base in sites_langs :
59-
Log('Pulling language from sites array')
60-
lang=sites_langs[base]['lang']
61-
else:
62-
Log('No entry found matching manually selected site : %s', base)
63-
base = None
56+
Log('Manual Site Selection Enabled : %s', base)
57+
Log('Language being ignored due to manual site selection')
58+
if base in sites_langs :
59+
Log('Pulling language from sites array')
60+
lang=sites_langs[base]['lang']
61+
else:
62+
Log('No entry found matching manually selected site : %s', base)
63+
base = None
6464

6565
# auto select site using library language
6666
else:
67-
Log('Audible site will be chosen by library language')
68-
Log('Library Language is %s', lang)
69-
if lang in intl_sites :
70-
base=intl_sites[lang]['url']
71-
else:
72-
Log('Site not found for library language')
73-
base = None
67+
Log('Audible site will be chosen by library language')
68+
Log('Library Language is %s', lang)
69+
if lang in intl_sites :
70+
base=intl_sites[lang]['url']
71+
else:
72+
Log('Site not found for library language')
73+
base = None
7474

7575
# set default site if not matched from manual/auto selection
7676
if base is None:

0 commit comments

Comments
 (0)