Skip to content

Commit

Permalink
fix: a bug in list when data_folder is unavailable yet
Browse files Browse the repository at this point in the history
  • Loading branch information
newgene committed Jun 15, 2023
1 parent dbddf23 commit 4da4acf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion biothings/management/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,8 @@ def do_list(plugin_name=None, dump=False, upload=False, hubdb=False, logger=None
# but we keep the code commented out below for future reference
# utils.run_sync_or_async_job(dumper.create_todump_list, force=True)
# data_folder = dumper.new_data_folder
show_dumped_files(data_folder, _plugin.plugin_name)
else:
show_dumped_files(data_folder, _plugin.plugin_name)
if upload:
show_uploaded_sources(pathlib.Path(_plugin.data_plugin_dir), _plugin.plugin_name)
if hubdb:
Expand Down

0 comments on commit 4da4acf

Please sign in to comment.