提交 26c6443d 编写于 作者: R repsac

Fixing a bad logic mistake where I the incorrect disk node type is queried...

Fixing a bad logic mistake where I the incorrect disk node type is queried against the wrong variable
上级 ee3898e1
......@@ -14,7 +14,7 @@ def copy_registered_textures(dest, registration):
def copy(src, dst):
logger.debug('io.copy(%s, %s)' % (src, dst))
if os.path.isfile(src):
if os.path.isdir(dst):
file_name = os.path.basename(src)
dst = os.path.join(dst, file_name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册