Permalink
Browse files

读数据库记录OverflowError错误问题

  • Loading branch information...
zhaodj committed Mar 24, 2013
1 parent bea2d3b commit 139bc0a479776e33b47cfdc9f3249c70bb3ea9c1
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/md5sum.py
View
@@ -16,7 +16,7 @@ def md5sum(filepath):
def upddb(imgroot):
con=Connection()
db=con.miidooo
- for img in db.userImages.find({'type':0,'hashcode':{'$exists':0}}):
+ for img in db.userImages.find({'type':0,'hashcode':{'$exists':0}},Fields={'shootedDate':False}):
filepath=imgroot+img['path']
print(filepath)
if os.path.isfile(filepath):

0 comments on commit 139bc0a

Please sign in to comment.