Commit 52146a94 authored by Romain Therville's avatar Romain Therville 🐭
Browse files

Rollback for analysis.py

The last commit to the save_file function has introduced a bug.

issues #129, #187
parent 492c9bfb
...@@ -622,7 +622,8 @@ class Analysis (Component): ...@@ -622,7 +622,8 @@ class Analysis (Component):
file_name = os.path.basename(file) file_name = os.path.basename(file)
else : else :
copyfile(file, os.path.join(self.__get_work_directory(), file_name)) copyfile(file, os.path.join(self.__get_work_directory(), file_name))
return self.get_web_filepath(file_name, 'fileadmin') return 'fileadmin' + os.path.join(self.directory, file_name)
#return self.get_web_filepath(file_name, 'fileadmin')
def _save_files(self, files, gzip=False): def _save_files(self, files, gzip=False):
""" """
......
Supports Markdown
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