Skip to content

Commit

Permalink
Explain language param
Browse files Browse the repository at this point in the history
  • Loading branch information
jacalata committed Oct 10, 2024
1 parent 894e73e commit 871495a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions samples/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def main():
"--csv", dest="type", action="store_const", const=("populate_csv", "CSVRequestOptions", "csv", "csv")
)
# other options shown in explore_workbooks: workbook.download, workbook.preview_image
parser.add_argument("--language")
parser.add_argument("--language", help="Text such as 'Average' will appear in this language. Use values like fr, de, es, en")
parser.add_argument("--workbook", action="store_true")

parser.add_argument("--file", "-f", help="filename to store the exported data")
Expand Down Expand Up @@ -79,9 +79,6 @@ def main():
if args.filter:
options = options.vf(*args.filter.split(":"))

if not options.language:
options.language = "de"

if args.file:
filename = args.file
else:
Expand Down

0 comments on commit 871495a

Please sign in to comment.