added title to comic list.

This commit is contained in:
2015-07-24 11:29:43 +01:00
parent 6baede6201
commit 6102459dc0
3 changed files with 11 additions and 2 deletions

View File

@@ -5,6 +5,12 @@ from collections import OrderedDict
import os
def generate_title_from_path(path):
if path == '':
return 'CBWebReader'
return 'CBWebReader - ' + ' - '.join(path.split(os.sep))
class Menu:
def __init__(self, user, page=''):
"""
@@ -59,6 +65,7 @@ def generate_breadcrumbs_from_menu(paths):
output.append(bc)
return output
def get_ordered_dir_list(folder):
directories = []
files = []