Skip to content

Commit

Permalink
Only log section break symbol if one is used
Browse files Browse the repository at this point in the history
  • Loading branch information
creideiki committed Jan 21, 2024
1 parent 0c50c7c commit ddc54cb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/fimfic2pdf/transformer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ def initialize(options)
@logger.debug "Preparing to transform story #{@options.id}"
@config_file = @options.id + File::SEPARATOR + 'config.yaml'
@conf = YAML.safe_load_file(@config_file)
@logger.debug "Using section break style #{@options.hr_style} with symbol #{@options.hr_symbol}"
@logger.debug "Using section break style #{@options.hr_style}" +
if @options.hr_symbol
" with symbol #{@options.hr_symbol}"
else
''
end
@replacements = {}
@in_blockquote = false
@logger.debug("Using chapter style #{@options.chapter_style || 'default'}")
Expand Down

0 comments on commit ddc54cb

Please sign in to comment.