Skip to content

Commit

Permalink
fix OR in argument of function for default argument
Browse files Browse the repository at this point in the history
  • Loading branch information
none committed Oct 4, 2024
1 parent 21d8f68 commit 1d37977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions j2o/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def PRINT(*args):
source_lines = cell["source"]
# -- ORG SRC block header
header = f"#+begin_src {language_ofkernels} :results output :exports both :session s1"
tail = "#+end_src"
tail = "#+end_src\n: #----------------------------------------\n"

# -- collect outputs
outputs = []
Expand Down Expand Up @@ -165,7 +165,7 @@ def PRINT(*args):
PRINT()


def j2p_main(source_file_jupyter: str, target_file_org = str | None,
def j2p_main(source_file_jupyter: str, target_file_org = str or None,
overwrite: bool = False):
"Prepare target file and directory for conversion."
# print(source_file_jupyter, target_file_org, overwrite)
Expand Down

0 comments on commit 1d37977

Please sign in to comment.