Commit c8355c1e authored by Denis Salem's avatar Denis Salem
Browse files

Add white spaces

parent 30311242
......@@ -195,10 +195,21 @@ class DataStore:
return argv[1]
except:
return ''
def if_chapters(self, argv):
if self.chapters_index != []:
return argv[0]
else:
try:
return argv[1]
except:
return ''
def root_site_to_jsonld(self):
self.root_as_jsonld = {
"@context": "http://schema.org",
q "@context": "http://schema.org",
"@type": ["Blog","WebPage"],
"@id" : self.blog_configuration["blog_url"]+"/root.jsonld",
"name": self.blog_configuration["blog_name"],
......
......@@ -89,6 +89,7 @@ def test_theme(args, test_name):
try:
file_ref = open('../refs/'+(theme.capitalize())+'/'+refs_exists[index], 'r').read().split('\n')
file_tested = open('blog/'+tested_exists[index], 'r').read().split('\n')
except UnicodeDecodeError:
continue
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment