Skip to content

Commit

Permalink
Change dragonfly2 import to dragonfly
Browse files Browse the repository at this point in the history
  • Loading branch information
LexiconCode committed Apr 2, 2024
1 parent 0534572 commit 9b34040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/natlinkcore/natlinkstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,12 +507,12 @@ def getDragonflyDirectory(self):
if self.DragonflyDirectory is not None:
return self.DragonflyDirectory
try:
import dragonfly2
import dragonfly
except ImportError:
self.DragonflyDirectory = ""
return ""

self.DragonflyDirectory = str(Path(dragonfly2.__file__).parent)
self.DragonflyDirectory = str(Path(dragonfly.__file__).parent)
return self.DragonflyDirectory


Expand Down

0 comments on commit 9b34040

Please sign in to comment.