Changeset 618:72865593bdc7


Ignore:
Timestamp:
05/06/11 13:20:25 (12 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Rebase:
38396563316464643936373131333363323336396638366365383736346561613164623238313165
Message:

Make DEBUG an environment variable.

Location:
skaapsteker
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/__main__.py

    r582 r618  
    1010
    1111from . import options
    12 from .constants import SCREEN, DEBUG
     12from .constants import SCREEN
    1313from .data import filepath
    1414from .engine import Engine
     
    1616from .menuscene import MenuScene
    1717from .sound import SoundSystem
     18
     19DEBUG = False
     20if os.environ.get('DEBUG'):
     21    DEBUG = True
    1822
    1923
  • skaapsteker/constants.py

    r523 r618  
    1010BUFFER = 1024  # audio buffer size in no. of samples
    1111
    12 DEBUG = True
    1312
    1413EPSILON = 1e-10
Note: See TracChangeset for help on using the changeset viewer.