Skip to content

Commit

Permalink
reword
Browse files Browse the repository at this point in the history
  • Loading branch information
parg committed Oct 25, 2023
1 parent ae1950f commit 23dfef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/com/biglybt/core/disk/impl/DiskManagerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ public void parameterChanged(String parameterName) {
if (transfer.download_location != null || transfer.download_name != null) {
File dl_location = transfer.download_location;
if (dl_location == null) {dl_location = download_manager.getAbsoluteSaveLocation().getParentFile();}
FileUtil.log( "Missing files for '" + download_manager.getDisplayName() +"' found in '" + dl_location + "'" );
FileUtil.log( "Updating data location for '" + download_manager.getDisplayName() +"' to '" + dl_location + "' on init" );
if (transfer.download_name == null) {
download_manager.setTorrentSaveDir(dl_location, false);
}
Expand All @@ -579,7 +579,7 @@ public void parameterChanged(String parameterName) {
}
}
if (transfer.torrent_location != null || transfer.torrent_name != null) {
FileUtil.log( "Missing torrent for '" + download_manager.getDisplayName() +"' found in '" + transfer.torrent_location + "'");
FileUtil.log( "Updating torrent location for '" + download_manager.getDisplayName() +"' to '" + transfer.torrent_location + "' on init");
try {download_manager.setTorrentFile(transfer.torrent_location, transfer.torrent_name);}
catch (DownloadManagerException e) {Debug.printStackTrace(e);}
}
Expand Down

0 comments on commit 23dfef7

Please sign in to comment.