Skip to content
Snippets Groups Projects
Commit da6ee033 authored by Luigi Sbailo's avatar Luigi Sbailo
Browse files

Clean up

parent 637edd42
No related branches found
No related tags found
1 merge request!123testing develop merge
......@@ -264,7 +264,6 @@ RUN ln -s /opt/tutorials/*/*.ipynb . \
# Linking images or other assets may required by the tutorials
WORKDIR $TUTORIALS_HOME/assets
RUN ln -s /opt/tutorials/*/assets/* .
RUN ls /opt/tutorials/*/assets/*
# Linking data may required by the tutorials
WORKDIR $TUTORIALS_HOME/data
......
......@@ -6,8 +6,6 @@ import os
if __name__ == '__main__':
dir_list = os.listdir()
print(os.getcwd())
print(dir_list)
for directory in dir_list:
try:
with open(directory + '/metainfo.json', 'r') as f:
......@@ -51,6 +49,6 @@ if __name__ == '__main__':
save_path = '/opt/tutorials/' + directory + '/assets/' + tutorial_name + '/header.jpg'
print(save_path)
header.save(save_path)
print('saved')
print('header saved')
except:
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment