added a _ to the file name

This commit is contained in:
Georg G 2016-01-05 20:53:48 +01:00
parent 48183be406
commit 13e0bb4c01
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Exporter
def initialize(user)
@user = user
@obj = {}
@export_dirname = "export_#{@user.screen_name}_#{Time.now.to_i}#{SecureRandom.base64.gsub(/[+=\/]/, '')}"
@export_dirname = "export_#{@user.screen_name}_#{Time.now.to_i}_#{SecureRandom.base64.gsub(/[+=\/]/, '')}"
@export_filename = @user.screen_name
end