Commit 3771a7c5 authored by nsoler's avatar nsoler
Browse files

admin cc scripts

parent 71992e11
Pipeline #2404 failed with stages
in 2 minutes
...@@ -39,12 +39,14 @@ def export_models(destination, cctype='sign1', cc_repo=None): ...@@ -39,12 +39,14 @@ def export_models(destination, cctype='sign1', cc_repo=None):
if fichero != 'fit.ready': if fichero != 'fit.ready':
source= os.path.join(dirModels,fichero) source= os.path.join(dirModels,fichero)
target= os.path.join(dirtmp,fichero) target= os.path.join(dirtmp,fichero)
print("Copying:", source, 'to' , target)
try: try:
shutil.copyfile(source, target) shutil.copyfile(source, target)
except Exception as e: except Exception as e:
print(e) print("WARNING",e)
else: else:
print("Copied:", source, 'to' , target) print("ok\n")
if __name__=='__main__': if __name__=='__main__':
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