Skip to content

Commit

Permalink
add default value for container dir in snapshot function
Browse files Browse the repository at this point in the history
  • Loading branch information
danielasay committed Jul 31, 2024
1 parent 9b87847 commit ece59ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwiqc/browser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
logger = logging.getLogger(__name__)


def snapshot(url, saveto, container_dir):
def snapshot(url, saveto, container_dir=None):
chromium_sif = check_container_path(container_dir)
proc1 = f"""singularity run \
{chromium_sif} \
Expand Down

0 comments on commit ece59ba

Please sign in to comment.