Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
devowit committed Aug 17, 2020
1 parent 33e7716 commit d1cffec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def get_folder(cls, project):
@classmethod
def save_file(cls, project, in_file):
folder = cls.get_folder(project)
shorter_name=Path(in_file.flename).name #otherwise secure_filename does weird things on linux
shorter_name=Path(in_file.filename).name #otherwise secure_filename does weird things on linux
filename = secure_filename(shorter_name)
file_path = folder/filename
in_file.save(str(file_path))
Expand Down

0 comments on commit d1cffec

Please sign in to comment.