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
82e0a207
authored
2020-11-05 19:04:07 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
85a7f363
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/apps/doc/management/commands/ocr_process.py
src/apps/doc/management/commands/ocr_process.py
View file @
82e0a20
...
...
@@ -32,7 +32,7 @@ class Command(BaseCommand, LoggerMixin):
# 处理文件开关
self
.
switch
=
True
# 睡眠时间
self
.
sleep_time
=
conf
.
SLEEP_SECOND
self
.
sleep_time
=
int
(
conf
.
SLEEP_SECOND
)
# 数据目录
self
.
data_dir
=
conf
.
DATA_DIR
# ocr相关
...
...
@@ -635,6 +635,7 @@ class Command(BaseCommand, LoggerMixin):
for
p
in
process_list
:
p
.
start
()
for
p
in
process_list
:
p
.
join
()
self
.
cronjob_log
.
info
(
'{0} [stop safely]'
.
format
(
self
.
log_base
))
...
...
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