From 20563347a5a06e6d1ad909dd25abcd47735176ef Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Wed, 4 Mar 2020 15:53:32 +0100
Subject: [PATCH] Cleanup

---
 km3io/offline.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/km3io/offline.py b/km3io/offline.py
index 8548784..60b69e8 100644
--- a/km3io/offline.py
+++ b/km3io/offline.py
@@ -211,10 +211,8 @@ class OfflineReader:
             path-like object that points to the file.
 
         """
-        self._file_path = file_path
-
         if file_path is not None:
-            self._fobj = uproot.open(self._file_path)
+            self._fobj = uproot.open(file_path)
             self._tree = self._fobj[MAIN_TREE_NAME]
             self._data = self._tree.lazyarrays(
                 basketcache=uproot.cache.ThreadSafeArrayCache(
-- 
GitLab