Skip to content

Commit

Permalink
MTN fix LICENSE path
Browse files Browse the repository at this point in the history
  • Loading branch information
rodolakis committed Jun 14, 2024
1 parent 657abc1 commit b1d5a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mdaviz/licensedialog.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from PyQt5 import QtWidgets

import pathlib
from . import utils


Expand All @@ -17,7 +17,7 @@ def __init__(self, parent):
self.setup()

def setup(self):
LICENSE_FILE = "../LICENSE"
LICENSE_FILE = pathlib.Path(__file__).parent /"../LICENSE.txt"

self.setModal(True)
license_text = open(LICENSE_FILE, "r").read()
Expand Down

0 comments on commit b1d5a15

Please sign in to comment.