We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af4c3b0 + 1261531 commit 6046c10Copy full SHA for 6046c10
1 file changed
dvuploader/file.py
@@ -74,7 +74,9 @@ def extract_file_name_hash_file(self):
74
self.directory_label = os.path.dirname(self.filepath)
75
self.handler.seek(0)
76
77
- self.file_name = os.path.basename(self.filepath)
+ if self.file_name is None:
78
+ self.file_name = os.path.basename(self.filepath)
79
+
80
self.checksum = Checksum.from_file(
81
handler=self.handler,
82
hash_fun=hash_fun,
0 commit comments