fix in remove_archive
This commit is contained in:
parent
5ff541b53c
commit
62a3872480
@ -15,7 +15,7 @@ def execute():
|
||||
res = webnotes.conn.sql("SELECT name FROM `%s`" % tab)
|
||||
for dn in res:
|
||||
archive.archive_doc(dt, dn[0], restore=1)
|
||||
count++
|
||||
count += 1
|
||||
if not count%100:
|
||||
webnotes.conn.commit()
|
||||
webnotes.conn.begin()
|
||||
|
Loading…
x
Reference in New Issue
Block a user