From 3430924d5e87c0f2c57dc597584760bcef53f5e2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 8 Oct 2020 20:53:30 +0100 Subject: [PATCH] Default minimum votes --- epicyon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/epicyon.py b/epicyon.py index 4c89797b..3ece2fe6 100644 --- a/epicyon.py +++ b/epicyon.py @@ -256,8 +256,8 @@ parser.add_argument('--archiveweeks', dest='archiveWeeks', type=str, parser.add_argument('--maxposts', dest='archiveMaxPosts', type=str, default=None, help='Maximum number of posts in in/outbox') -parser.add_argument('--minimumVotes', dest='minimumVotes', type=str, - default=None, +parser.add_argument('--minimumvotes', dest='minimumvotes', type=int, + default=1, help='Minimum number of votes to remove or add' + ' a newswire item') parser.add_argument('--message', dest='message', type=str, @@ -1920,7 +1920,7 @@ if setTheme(baseDir, themeName): if __name__ == "__main__": runDaemon(args.positivevoting, - args.minimumVotes, + args.minimumvotes, args.newsinstance, args.blogsinstance, args.mediainstance, args.maxRecentPosts,