rabin 7 years ago
parent
commit
625827e8bb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pic.py

+ 1 - 0
pic.py

@@ -66,4 +66,5 @@ def savePic(value, file, cur):
 		model.device_id = value['id']
 		model.sdate = cur
 		model.insert()
+	bucket.delete_object(file)
 #pic()