mirror of
https://github.com/chenasraf/snpr.git
synced 2026-05-18 01:39:01 +00:00
whops, needed string inter. here
This commit is contained in:
@@ -261,7 +261,7 @@ TXT
|
||||
def delete_old_zips
|
||||
forbidden_files = [link_path, zip_fs_path,
|
||||
Rails.root.join('data','annotation.zip'),
|
||||
Rails.root.join('public','data','zip','#{dump_file_name}.zip')]
|
||||
Rails.root.join('public','data','zip',"#{dump_file_name}.zip")]
|
||||
Dir[Rails.root.join('public/data/zip/*.zip')].each do |f|
|
||||
if (not forbidden_files.include? f) and (File.ftype(f) == "file")
|
||||
File.delete(f)
|
||||
|
||||
Reference in New Issue
Block a user