mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
pep8
This commit is contained in:
@@ -10,8 +10,8 @@ class Command(Renderable, BaseCommand):
|
||||
help = """
|
||||
Using the current set of tagging rules, apply said rules to all
|
||||
documents in the database, effectively allowing you to back-tag all
|
||||
previously indexed documents with tags created (or modified) after their
|
||||
initial import.
|
||||
previously indexed documents with tags created (or modified) after
|
||||
their initial import.
|
||||
""".replace(" ", "")
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
@@ -13,7 +13,7 @@ from django.core.management.commands.loaddata import Command as LoadDataCommand
|
||||
|
||||
class Command(LoadDataCommand):
|
||||
def parse_name(self, fixture_name):
|
||||
self.compression_formats['stdin'] = (lambda x,y: sys.stdin, None)
|
||||
self.compression_formats['stdin'] = (lambda x, y: sys.stdin, None)
|
||||
if fixture_name == '-':
|
||||
return '-', 'json', 'stdin'
|
||||
|
||||
|
Reference in New Issue
Block a user