| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| record_file_name = base64.b64encode(key.encode('utf-8')).decode('utf-8') | ||
| upload_record_file_path = os.path.join(self.record_folder, | ||
| record_file_name) | ||
| record_file_name = hashlib.md5(record_key.encode('utf-8')).hexdigest() |
There was a problem hiding this comment.
做成一个函数
Sorry, something went wrong.
There was a problem hiding this comment.
其实这里用filename和key做hash并不能保证进度文件唯一,如果往不同的bucket里面传这个同一个文件,filename和key都相同,就会出问题。
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.