Skip to content
Snippets Groups Projects
Commit b7827472 authored by Dmitry Shelepnev's avatar Dmitry Shelepnev
Browse files

Fix error with clear SOPDS_SCAN_START_DIRECTLY flag

parent e2220a03
Branches
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ class Command(BaseCommand): ...@@ -99,7 +99,7 @@ class Command(BaseCommand):
self.SCAN_SHED_DAY==config.SOPDS_SCAN_SHED_DAY): self.SCAN_SHED_DAY==config.SOPDS_SCAN_SHED_DAY):
self.update_shedule() self.update_shedule()
if config.SOPDS_SCAN_START_DIRECTLY: if config.SOPDS_SCAN_START_DIRECTLY:
config.SOPDS_SCAN_START_DIRECTLY config.SOPDS_SCAN_START_DIRECTLY = False
self.stdout.write('Startup scannyng directly by SOPDS_SCAN_START_DIRECTLY flag.') self.stdout.write('Startup scannyng directly by SOPDS_SCAN_START_DIRECTLY flag.')
self.scan() self.scan()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment