diff --git a/VERSION b/VERSION index 598dfb2a..5ecd89d5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.6.0-development+timestamp.2013.09.09.14.16.32 +Version 2.6.0-development+timestamp.2013.09.09.14.28.03 diff --git a/gluon/globals.py b/gluon/globals.py index 9d49002f..6ea2ebc4 100644 --- a/gluon/globals.py +++ b/gluon/globals.py @@ -915,7 +915,7 @@ class Session(Storage): return (record_id, sep, unique_key) = response.session_id.partition(':') - if record_id.isdigit() and long(record_id)>1: + if record_id.isdigit() and long(record_id): new_unique_key = web2py_uuid() row = table(record_id) if row and row.unique_key==unique_key: