We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07d5ebe commit 9c1eecdCopy full SHA for 9c1eecd
code_generator.py
@@ -36,7 +36,7 @@ def generate_header(self):
36
from openpyxl import load_workbook
37
38
if len(sys.argv) < 2:
39
- print(f"Usage: python {sys.argv[1]} <excel_file>")
+ print(f"Usage: python {sys.argv[0]} <excel_file>")
40
sys.exit(1)
41
42
workbook = load_workbook(filename=sys.argv[1])
0 commit comments