Permalink
Browse files

v0.10, add feature in README.txt, fix admin doc

  • Loading branch information...
1 parent e69e471 commit e9f88d3cc84e7968d763dc073f57baee4d435ece @nopri committed Oct 16, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 README.txt
  2. +2 −2 app.py
View
1 README.txt
@@ -23,6 +23,7 @@ Features:
- Custom Membership Level
- Send Email (Cart Checkout)
- Captcha (Random Font)
+- Custom Logo
- More
View
4 app.py
@@ -67,7 +67,7 @@ def cget(section, option, default='', strip=True):
############################### CONSTANT ###############################
-VERSION = '0.9'
+VERSION = '0.10'
NAME = 'Online Store'
PRECISION = 2
FORCE_PROMOTE = False
@@ -3899,7 +3899,7 @@ def GET(self):
raise web.seeother('/admin')
else:
disposition = 'attachment; filename=' + os.path.basename(f)
- web.header('Content-Type', 'application/pdf')
+ web.header('Content-Type', 'text/plain')
web.header('Content-Length', os.path.getsize(f))
web.header('Content-Disposition', disposition)
return open(f).read()

0 comments on commit e9f88d3

Please sign in to comment.