mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
User should be a string/bytes when reindexing stories.
This commit is contained in:
parent
1065c964fd
commit
593b736c26
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from apps.reader.models import UserSubscription
|
|||
class Command(BaseCommand):
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument("-u", "--user", dest="user", nargs=1, help="Specify user id or username")
|
||||
parser.add_argument("-u", "--user", dest="user", nargs=1, type=str, help="Specify user id or username")
|
||||
parser.add_argument("-R", "--reindex", dest="reindex", action="store_true", help="Drop index and reindex all stories.")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue