Skip to content

Commit

Permalink
fix: update os.getenv
Browse files Browse the repository at this point in the history
  • Loading branch information
xxiu committed Jan 29, 2022
1 parent 8a8193c commit 29d5167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notion2md/convertor/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def downloader(url:str) -> str:
if filename:
name,ext = os.path.splitext(filename)
fullpath = os.path.join(cfg.output_path,filename)
is_uuid_file = os.environ["NOTION2MD_UUIDFILE"]
is_uuid_file = os.getenv("NOTION2MD_UUIDFILE","false")

outfilename = filename
if str.lower(is_uuid_file) == "true" :
Expand Down

0 comments on commit 29d5167

Please sign in to comment.