fastled 1.2.98__py3-none-any.whl → 1.2.99__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
fastled/__init__.py CHANGED
@@ -14,7 +14,7 @@ from .types import BuildMode, CompileResult, CompileServerError, FileResponse
14
14
  # IMPORTANT! There's a bug in github which will REJECT any version update
15
15
  # that has any other change in the repo. Please bump the version as the
16
16
  # ONLY change in a commit, or else the pypi update and the release will fail.
17
- __version__ = "1.2.98"
17
+ __version__ = "1.2.99"
18
18
 
19
19
 
20
20
  class Api:
fastled/cli.py CHANGED
@@ -3,14 +3,23 @@ Main entry point.
3
3
  """
4
4
 
5
5
  import multiprocessing
6
+ import os
6
7
  import sys
7
8
 
8
- from fastled.app import main as app_main
9
+
10
+ def run_app() -> int:
11
+ """Run the application."""
12
+ from fastled.app import main as app_main
13
+
14
+ return app_main()
9
15
 
10
16
 
11
17
  def main() -> int:
12
18
  """Main entry point for the template_python_cmd package."""
13
- return app_main()
19
+ if "--debug" in sys.argv:
20
+ # Debug mode
21
+ os.environ["FLASK_SERVER_LOGGING"] = "1"
22
+ return run_app()
14
23
 
15
24
 
16
25
  # Cli entry point for the pyinstaller generated exe