Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akwiatkowski committed Dec 26, 2014
1 parent bbd3a96 commit 9109518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webcam_downloader/archive_downloader.rb
Expand Up @@ -88,7 +88,7 @@ def start_month(time)
if File.exists?(destination)
image_size = File.size(destination)
if image_size == 0
File.rm(destination)
File.delete(destination)
else
total_size += image_size
downloaded_count += 1
Expand Down

0 comments on commit 9109518

Please sign in to comment.