Skip to content

Commit

Permalink
ui: fixed python3 system libs path on OpenSuse
Browse files Browse the repository at this point in the history
/usr/lib/python3/dist-packages/ was missing on OpenSuse TumbleWeed.
Maybe it's not the best solution, but solves the problem for now.

Reported by zaggynl here #59.
  • Loading branch information
gustavo-iniguez-goya committed Sep 25, 2020
1 parent d137a50 commit 7deb2f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/bin/opensnitch-ui
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ from concurrent import futures

import grpc

dist_path = '/usr/lib/python3/dist-packages/'
if dist_path not in sys.path:
sys.path.append(dist_path)

from opensnitch.service import UIService
from opensnitch.config import Config
import opensnitch.version
Expand Down

0 comments on commit 7deb2f3

Please sign in to comment.