aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnewspipe/commands.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/newspipe/commands.py b/newspipe/commands.py
index 2d6aae5e..a6f91027 100755
--- a/newspipe/commands.py
+++ b/newspipe/commands.py
@@ -119,19 +119,6 @@ def delete_read_articles():
print("Read articles deleted.")
-@application.cli.command("fix_article_entry_id")
-def fix_article_entry_id():
- filter = {}
- filter["entry_id"] = None
- articles = ArticleController().read(**filter).limit(50)
- for article in articles:
- try:
- article.entry_id = str(article.id)
- db.session.commit()
- except Exception:
- db.session.rollback()
-
-
@application.cli.command("fetch_asyncio")
@click.option("--user-id", default=None, help="Id of the user")
@click.option("--feed-id", default=None, help="If of the feed")
bgstack15