fixed get_app problem on windows
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.6.0-development+timestamp.2013.08.27.06.30.01
|
||||
Version 2.6.0-development+timestamp.2013.08.27.06.33.47
|
||||
|
||||
@@ -85,7 +85,8 @@ def safe_write(a, value, b='w'):
|
||||
|
||||
|
||||
def get_app(name=None):
|
||||
if (app and os.path.exists(apath(name, r=request)) and
|
||||
app = name or request.args(0)
|
||||
if (app and os.path.exists(apath(app, r=request)) and
|
||||
(not MULTI_USER_MODE or is_manager() or
|
||||
db(db.app.name == app)(db.app.owner == auth.user.id).count())):
|
||||
return app
|
||||
|
||||
Reference in New Issue
Block a user