Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EXPOSE 3000

USER root
RUN apt-get update && apt-get install -y curl gpg-agent
RUN curl --silent --location https://deb.nodesource.com/setup_14.x | bash -
RUN curl --silent --location https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs unzip p7zip-full && npm install -g nodemon && \
ln -s /code/SuperBuild/install/bin/untwine /usr/bin/untwine && \
ln -s /code/SuperBuild/install/bin/entwine /usr/bin/entwine && \
Expand Down
8 changes: 4 additions & 4 deletions helpers/odmOptionsToJson.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'''

import sys
import imp
import importlib
import argparse
import json
import os
Expand All @@ -28,14 +28,14 @@
sys.path.append(sys.argv[2])

try:
imp.load_source('opendm', sys.argv[2] + '/opendm/__init__.py')
importlib.util.spec_from_file_location('opendm',sys.argv[2] + '/opendm/__init__.py').loader.load_module()
except:
pass
try:
imp.load_source('context', sys.argv[2] + '/opendm/context.py')
importlib.util.spec_from_file_location('context', sys.argv[2] + '/opendm/context.py').loader.load_module()
except:
pass
odm = imp.load_source('config', sys.argv[2] + '/opendm/config.py')
odm = importlib.util.spec_from_file_location('config', sys.argv[2] + '/opendm/config.py').loader.load_module()

options = {}
class ArgumentParserStub(argparse.ArgumentParser):
Expand Down
Loading