commit fc697631d51e98ec2ce4aa792a3afde4aa5a0a6e Author: vivekvardhanadepu Date: Sat Jul 17 13:30:02 2021 +0530 minor fixes diff --git a/check_config.py b/check_config.py index a09767a..533483e 100644 --- a/check_config.py +++ b/check_config.py @@ -2,6 +2,7 @@ from tomlkit import parse, dumps import os +import sys # urls of the required tools and data corpora_url = "https://wiki.apertium.org/wiki/Corpora" @@ -135,4 +136,5 @@ def check_config(filename='config.toml'): if __name__ == '__main__': - check_config() + if(len(sys.argv)==2): + check_config(sys.argv[1])