From f2fa13162833a60597ea0667ddd1443a85b1627a Mon Sep 17 00:00:00 2001 From: Espy | Neko | 404 <34942042+neko404notfound@users.noreply.github.com> Date: Tue, 22 May 2018 23:34:57 +0100 Subject: [PATCH] >.> --- src/shared_libs/ioutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared_libs/ioutils.py b/src/shared_libs/ioutils.py index c0642fb..284f156 100644 --- a/src/shared_libs/ioutils.py +++ b/src/shared_libs/ioutils.py @@ -37,7 +37,7 @@ def in_here(first_path_bit: str, *path_bits: str, stack_depth: int=0) -> str: :returns: the absolute path to the given relative path provided. """ try: - frame = inspect.stack()[1 + nested_by] + frame = inspect.stack()[1 + stack_depth] except IndexError: raise RuntimeError('Could not find a stack record. Interpreter has ' 'been shot.')