• Your Name's avatar
    Fix debug logging - use state module for global_debug · fcaa9452
    Your Name authored
    - text.py had local global_debug variable that shadowed the state module
    - Changed text.py to import get_global_debug from state module
    - Changed set_global_debug() in text.py to call state module's function
    - Changed all 'if global_debug:' to 'if get_global_debug():' in text.py
    - log.py was already using get_global_debug() correctly
    fcaa9452
text.py 82.1 KB