From 5f60c2fd87fd4cf8aed7b98633ad946367f58b69 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 12 Jul 2020 00:58:01 +0200 Subject: [scripts/paper_plots] fix mypy error --- scripts/paper_plots.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts/paper_plots.py') diff --git a/scripts/paper_plots.py b/scripts/paper_plots.py index f79cf3a..ff20548 100755 --- a/scripts/paper_plots.py +++ b/scripts/paper_plots.py @@ -20,12 +20,10 @@ import argparse import importlib -import inspect import os import sys -currentdir = os.path.dirname( - os.path.abspath(inspect.getfile(inspect.currentframe()))) +currentdir = os.path.dirname(os.path.abspath(__file__)) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) -- cgit v1.2.3