added title to comic list.

This commit is contained in:
ajurna committed 2015-07-24 11:29:43 +01:00
1 parent 6baede6201
commit 6102459dc0
3 files changed
+11 -2

No files matched your search

+7
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 = []