This commit is contained in:
cdle
2021-10-04 19:33:33 +08:00
parent 0f93b34ad1
commit 9a9286af5b
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ func init() {
}
}
mediaID := ""
if url != "" {
if url != "" && len(ss) == 0 {
filename := file_dir + fmt.Sprint(time.Now().UnixNano()) + ".jpg"
err := func() error {
f, err := os.Create(filename)