language changes

This commit is contained in:
mdipierro
2012-10-22 22:14:40 -05:00
parent b5603d6956
commit 46610d59ce
6 changed files with 23 additions and 25 deletions
+3 -3
View File
@@ -998,11 +998,11 @@ def design():
statics.sort()
# Get all languages
langpath = os.path.join(apath(app, r=request),'language')
languages = dict([(lang, info) for lang, info
in read_possible_languages(
apath(app, r=request)).iteritems()
in read_possible_languages(langpath).iteritems()
if info[2] != 0]) # info[2] is langfile_mtime:
# get only existed files
# get only existed files
#Get crontab
cronfolder = apath('%s/cron' % app, r=request)