Skip to content
Snippets Groups Projects
Commit 077c0bed authored by Campbell Barton's avatar Campbell Barton
Browse files

Cleanup: system_demo_mode unused imports, vars

parent 5d69d973
No related branches found
No related tags found
No related merge requests found
...@@ -143,10 +143,12 @@ class DemoModeSetup(bpy.types.Operator): ...@@ -143,10 +143,12 @@ class DemoModeSetup(bpy.types.Operator):
from . import config from . import config
keywords = self.as_keywords(ignore=("directory", "random_order", "run", "exit")) keywords = self.as_keywords(ignore=("directory", "random_order", "run", "exit"))
cfg_str, dirpath = config.as_string(self.directory, cfg_str, _dirpath = config.as_string(
self.directory,
self.random_order, self.random_order,
self.exit, self.exit,
**keywords) **keywords,
)
text = bpy.data.texts.get("demo.py") text = bpy.data.texts.get("demo.py")
if text: if text:
text.name += ".back" text.name += ".back"
......
...@@ -36,7 +36,6 @@ config = [ ...@@ -36,7 +36,6 @@ config = [
import bpy import bpy
import time import time
import tempfile
import os import os
DEMO_CFG = "demo.py" DEMO_CFG = "demo.py"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment