Commit b712caa9 authored by Ultimanet's avatar Ultimanet
Browse files

Updated demos

parent 19a24e43
...@@ -19,5 +19,5 @@ ...@@ -19,5 +19,5 @@
## You should have received a copy of the GNU General Public License ## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
from demos_core import * from demos_core import get_demo_dir
...@@ -27,12 +27,12 @@ ...@@ -27,12 +27,12 @@
""" """
import os import os
import nifty as nt import nifty
def get_demo_dir(): def get_demo_dir():
""" """
Returns the path of the NIFTY demos directory. Returns the path of the NIFTY demos directory.
""" """
return os.path.split(nt.demos.__file__)[0] return os.path.split(nifty.demos.__file__)[0]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment