removed some of recent changes until futher study

This commit is contained in:
mdipierro
2012-07-11 22:40:48 -05:00
parent 4d82cc86c1
commit cdda1ee79e
3 changed files with 14 additions and 17 deletions
+2 -5
View File
@@ -794,11 +794,8 @@ def design():
statics.sort()
# Get all languages
languages = sorted([lang+'.py' for lang, info in
T.get_possible_languages_info().iteritems()
if info[2]!=0]) # info[2] is langfile_mtime:
# get only existed files
languages = listdir(apath('%s/languages/' % app, r=request), '[\w-]*\.py')
#Get crontab
cronfolder = apath('%s/cron' % app, r=request)
if not os.path.exists(cronfolder): os.mkdir(cronfolder)