lib/rmega/nodes/downloadable.rb in rmega-0.2.0 vs lib/rmega/nodes/downloadable.rb in rmega-0.2.1
- old
+ new
@@ -67,10 +67,10 @@
def download(path)
path = ::File.expand_path(path)
path = Dir.exists?(path) ? ::File.join(path, name) : path
- progress = Progress.new(filesize, caption: 'Download')
+ progress = Progress.new(filesize, caption: 'Download', filename: self.name)
pool = Pool.new
@resumed_download = allocated?(path)
allocate(path)
@node_key = NodeKey.load(decrypted_file_key)