diff options
author | Prabhu Ramachandran | 2011-11-19 17:45:19 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-19 17:45:19 +0530 |
commit | 637db68dca2a909657c151566ad36897a4353999 (patch) | |
tree | e94c666397d8f82557169a419ebbd0c0062df4e1 /settings.py | |
parent | e263244c70e8c5db0bc89bfee84ce37fe8e40d16 (diff) | |
download | online_test-637db68dca2a909657c151566ad36897a4353999.tar.gz online_test-637db68dca2a909657c151566ad36897a4353999.tar.bz2 online_test-637db68dca2a909657c151566ad36897a4353999.zip |
BUG: Misc. bug fixes.
- Timeout for signal.alarm is an integer.
- The total_seconds method on timedelta is new to 2.7 and doesn't work
on older versions.
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings.py b/settings.py index 11a44a2..4e9b390 100644 --- a/settings.py +++ b/settings.py @@ -8,8 +8,8 @@ TEMPLATE_DEBUG = DEBUG # The port the Python server should run on. SERVER_PORT = 8001 -# Timeout for the code to run in seconds. -SERVER_TIMEOUT = 2.0 +# Timeout for the code to run in seconds. This is an integer! +SERVER_TIMEOUT = 2 ADMINS = ( # ('Your Name', 'your_email@example.com'), |