Skip to content

Commit

Permalink
Tentative correction unicode
Browse files Browse the repository at this point in the history
?!?
  • Loading branch information
pierre-24 committed Aug 7, 2014
1 parent b27b1e6 commit 5a19e34
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions zds/tutorial/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,11 @@ def get_prod_path(self):
def load_dic(self, mandata, sha=None):
'''fill mandata with informations form database model'''

fns = ['is_big', 'is_mini', 'have_markdown','have_html','have_pdf',
'have_epub', 'get_path']
attrs = ['pk','authors','subcategory','image','pubdate', 'update',
'source', 'sha_draft', 'sha_beta', 'sha_validation', 'sha_public']
fns = [u'is_big', u'is_mini', u'have_markdown',u'have_html',
u'have_pdf', u'have_epub', u'get_path']
attrs = [u'pk',u'authors',u'subcategory',u'image',u'pubdate', u'update',
u'source', u'sha_draft', u'sha_beta', u'sha_validation',
u'sha_public']

#load functions and attributs in tree
for fn in fns:
Expand Down

0 comments on commit 5a19e34

Please sign in to comment.