[Bf-extensions-cvs] [7c1590d] master: io_blend_utils: fixed missing variable in error msg

Sybren A. Stüvel noreply at git.blender.org
Wed Apr 12 11:22:53 CEST 2017


Commit: 7c1590d8d387e0afb0643854b4bf76179b73f86e
Author: Sybren A. Stüvel
Date:   Wed Apr 12 11:22:40 2017 +0200
Branches: master
https://developer.blender.org/rBA7c1590d8d387e0afb0643854b4bf76179b73f86e

io_blend_utils: fixed missing variable in error msg

===================================================================

M	io_blend_utils/__init__.py

===================================================================

diff --git a/io_blend_utils/__init__.py b/io_blend_utils/__init__.py
index 5e6f6fe..7e3464f 100644
--- a/io_blend_utils/__init__.py
+++ b/io_blend_utils/__init__.py
@@ -119,7 +119,7 @@ def pythonpath() -> str:
     # Find the wheel to run.
     wheelpath = pathlib.Path(__file__).with_name(BAM_WHEEL_FILE)
     if not wheelpath.exists():
-        raise EnvironmentError('Wheel file %s does not exist!')
+        raise EnvironmentError('Wheel file %s does not exist!' % wheelpath)
 
     log.info('Using wheel file %s to run BAM-Pack', wheelpath)



More information about the Bf-extensions-cvs mailing list