Fix python version check

#4
by tlux - opened
Files changed (1) hide show
  1. modeling_drama.py +1 -1
modeling_drama.py CHANGED
@@ -83,7 +83,7 @@ class DramaModelWrapper:
83
  An instance of the appropriate DramaModel implementation.
84
  """
85
  # Check Python version
86
- use_nested = sys.version_info >= (3, 15)
87
  if not use_nested:
88
  warnings.warn(
89
  "Python version < 3.12 detected. Using non-nested implementation."
 
83
  An instance of the appropriate DramaModel implementation.
84
  """
85
  # Check Python version
86
+ use_nested = sys.version_info >= (3, 12)
87
  if not use_nested:
88
  warnings.warn(
89
  "Python version < 3.12 detected. Using non-nested implementation."