OSDN Git Service
(root)
/
rec10
/
rec10-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some experimental function add.
[rec10/rec10-git.git]
/
Rec10WEB
/
trunk
/
src
/
rec10web_dbMySQL.py
diff --git
a/Rec10WEB/trunk/src/rec10web_dbMySQL.py
b/Rec10WEB/trunk/src/rec10web_dbMySQL.py
index
cf12430
..
65dcb91
100644
(file)
--- a/
Rec10WEB/trunk/src/rec10web_dbMySQL.py
+++ b/
Rec10WEB/trunk/src/rec10web_dbMySQL.py
@@
-155,7
+155,7
@@
class DB_MySQL:
db[1].execute(dbexe,(btime,etime))
rets=[]
for typet,bctypet, chtxtt, titlet,btimet,etimet in db[1].fetchall():
db[1].execute(dbexe,(btime,etime))
rets=[]
for typet,bctypet, chtxtt, titlet,btimet,etimet in db[1].fetchall():
- ret=[typet,bctypet,chtxtt,titlet,btimet
,etimet
]
+ ret=[typet,bctypet,chtxtt,titlet,btimet
.strftime("%Y-%m-%d %H:%M:%S"),etimet.strftime("%Y-%m-%d %H:%M:%S")
]
rets.append(ret)
self.close_db(db)
return rets
rets.append(ret)
self.close_db(db)
return rets