Show More
@@ -20,7 +20,7 b'' | |||
|
20 | 20 | |
|
21 | 21 | import io |
|
22 | 22 | import uuid |
|
23 |
import pathlib |
|
|
23 | import pathlib | |
|
24 | 24 | |
|
25 | 25 | |
|
26 | 26 | def get_file_storage(settings): |
@@ -31,7 +31,7 b' def get_file_storage(settings):' | |||
|
31 | 31 | |
|
32 | 32 | |
|
33 | 33 | def splitext(filename): |
|
34 |
ext = ''.join(pathlib |
|
|
34 | ext = ''.join(pathlib.Path(filename).suffixes) | |
|
35 | 35 | return filename, ext |
|
36 | 36 | |
|
37 | 37 |
General Comments 0
You need to be logged in to leave comments.
Login now