Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b9540036
authored
2021-10-06 15:41:46 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix dda
1 parent
66ec14bf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/apps/doc/management/commands/folder_dda_process.py
src/apps/doc/management/commands/folder_dda_process.py
View file @
b954003
...
...
@@ -329,6 +329,8 @@ class Command(BaseCommand, LoggerMixin):
except
Exception
as
e
:
self
.
folder_log
.
info
(
'{0} [daily wb failed] [result={1}] [error={2}]'
.
format
(
self
.
log_base
,
result
,
traceback
.
format_exc
()))
if
len
(
wb
.
sheetnames
)
>
1
and
'Sheet'
in
wb
.
sheetnames
:
wb
.
remove
(
wb
.
get_sheet_by_name
(
'Sheet'
))
wb
.
save
(
wb_path
)
def
folder_process
(
self
,
input_dir
,
result_queue
):
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment