mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 01:26:47 +01:00
pep8
This commit is contained in:
parent
a5124cade6
commit
422ae9303a
13 changed files with 89 additions and 40 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue