File fix-pyasn-data-path.patch of Package opensnitch

--- a/ui/opensnitch/utils/__init__.py
+++ b/ui/opensnitch/utils/__init__.py
@@ -51,9 +51,9 @@
             # if the user hasn't downloaded an updated ipasn db, use the one
             # shipped with the python3-pyasn package
             if os.path.isfile(IPASN_DB_PATH) == False:
-                IPASN_DB_PATH = '/usr/lib/python3/dist-packages/data/ipasn_20140513_v12.dat.gz'
+                IPASN_DB_PATH = '/usr/share/python-pyasn/data/ipasn_db.dat.gz'
             if os.path.isfile(AS_NAMES_FILE_PATH) == False:
-                AS_NAMES_FILE_PATH = '/usr/lib/python3/dist-packages/data/asnames.json'
+                AS_NAMES_FILE_PATH = '/usr/share/python-pyasn/data/asnames.json.gz'
 
             print("using IPASN DB:", IPASN_DB_PATH)
             self.asndb = pyasn.pyasn(IPASN_DB_PATH, as_names_file=AS_NAMES_FILE_PATH)
openSUSE Build Service is sponsored by