From 8b42064c4e9b886bbedd739bb6de0d7dfec2f910 Mon Sep 17 00:00:00 2001
From: gospodnetic <petra.gospodnetic@gmail.com>
Date: Mon, 8 Jun 2020 09:34:18 +0200
Subject: [PATCH] Don't load VP-Tri files at all

---
 vob.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/vob.py b/vob.py
index 82861dd..e82e23e 100644
--- a/vob.py
+++ b/vob.py
@@ -46,6 +46,11 @@ def main():
     logs = []
     for idx, filename in enumerate(filenames):
         print("Loading file {}/{}        ".format(idx+1, len(filenames)), end="\r")
+        # VP-Tri maps are big and take long to load, only to see there is nothing there.
+        # Currently the maps can be only distinguished by having this string in the filename.
+        if "VP-Tri_Map" in filename:
+            continue
+
         try:
             log = Log(filename)
             logs.append(log)
-- 
GitLab