Changes between Version 13 and Version 14 of ProfilingDjango


Ignore:
Timestamp:
Oct 30, 2012, 6:42:49 AM (12 years ago)
Author:
anonymous
Comment:

do not hardcode path

Legend:

Unmodified
Added
Removed
Modified
  • ProfilingDjango

    v13 v14  
    1212import time
    1313import settings
     14import tempdir
    1415
    1516try:
    1617    PROFILE_LOG_BASE = settings.PROFILE_LOG_BASE
    1718except:
    18     PROFILE_LOG_BASE = "/tmp"
     19    PROFILE_LOG_BASE = tempfile.gettempdir()
    1920
    2021
Back to Top