[svn r8067] remove nonasc

This commit is contained in:
julian 2008-11-07 03:25:00 +01:00
parent c057ec34f3
commit e8b493d070
2 changed files with 3 additions and 2 deletions

View File

@ -213,7 +213,8 @@ def Parseloghtml01(year, expedition, txt):
ltriptext = re.sub("</p>", "", triptext)
ltriptext = re.sub("\s*?\n\s*", " ", ltriptext)
ltriptext = re.sub("<p>", "\n\n", ltriptext).strip() ltriptext = re.sub("[^\s0-9a-zA-Z\-.,:;'!]", "NONASCII", ltriptext)
ltriptext = re.sub("<p>", "\n\n", ltriptext).strip()
#ltriptext = re.sub("[^\s0-9a-zA-Z\-.,:;'!]", "NONASCII", ltriptext)
#print ldate, trippeople.strip()
# could includ the tripid (url link for cross referencing)

View File

@ -1,4 +1,4 @@
from localsettings import *
from localsettingsserver import *
# Django settings for troggle2 project.
DEBUG = True