File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -319,8 +319,7 @@ def run():
319319 software_versions = machine_data .get ("software_versions" , {}),
320320 # sources=[Path(args.source)],
321321 # watchers=source_watchers,
322- default_destination = args .destination
323- or f"{ machine_data .get ('rsync_module' ) or 'data' } /{ datetime .now ().year } " ,
322+ default_destination = args .destination or str (datetime .now ().year ),
324323 demo = args .demo ,
325324 processing_only_mode = server_routing_prefix_found ,
326325 )
Original file line number Diff line number Diff line change @@ -92,10 +92,7 @@ def determine_default_destination(
9292 elif machine_data .get ("data_directories" ):
9393 for data_dir in machine_data ["data_directories" ]:
9494 if source .resolve () == Path (data_dir ):
95- _default = (
96- destination
97- + f"{ machine_data .get ('rsync_module' ) or 'data' } /{ visit } "
98- )
95+ _default = f"{ destination } /{ visit } "
9996 break
10097 else :
10198 try :
@@ -132,7 +129,7 @@ def determine_default_destination(
132129 else :
133130 _default = ""
134131 else :
135- _default = destination + f" /{ visit } "
132+ _default = f" { destination } /{ visit } "
136133 return (
137134 _default + f"/{ extra_directory } "
138135 if not _default .endswith ("/" )
You can’t perform that action at this time.
0 commit comments