Skip to content

Commit

Permalink
Import cryspy library only after the splash screen shown
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSazonov committed Jul 4, 2024
1 parent 5adb448 commit 465c8a9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions easyDiffractionApp/Logic/Helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@ def setPaths(self):
self.imports.append('.')
console.debug('No python resources (rc) file found')

try:
import cryspy
cryspyPath = os.path.abspath(cryspy.__path__[0])
console.info(f'CrysPy module: {cryspyPath}')
except ImportError:
console.error('No CrysPy module found')

import EasyApp
easyAppPath = os.path.abspath(EasyApp.__path__[0])
self.imports.append(os.path.join(easyAppPath, '..'))
Expand Down

0 comments on commit 465c8a9

Please sign in to comment.