We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa18a04 commit c37c8baCopy full SHA for c37c8ba
GSASII/exports/G2export_CIF.py
@@ -5598,7 +5598,7 @@ def _onResetTemplate(event):
5598
# find default name for template
5599
resetTemplate = None
5600
localTemplate = None
5601
- for pth in sys.path: # -- search with default name
+ for pth in [os.path.dirname(__file__)]+sys.path: # -- search with default name
5602
fil = os.path.join(pth,templateDefName)
5603
if os.path.exists(fil):
5604
resetTemplate = fil
0 commit comments