projects
/
quanlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start support for reading data back from the database.
[quanlib.git]
/
main.rb
diff --git
a/main.rb
b/main.rb
index bc175fbf51ae33205a37735d1390872a3ea630e1..596e11ff526fec0f09227bda8bcad927ab163180 100644
(file)
--- a/
main.rb
+++ b/
main.rb
@@
-64,7
+64,7
@@
open(outputDir + '/index.html', 'w') do |fd|
image = nil
if nil != book.cover
imageCount += 1
image = nil
if nil != book.cover
imageCount += 1
- (path, mimeType) = book.cover.write
I
mage(outputDir, 'image' + imageCount.to_s)
+ (path, mimeType) = book.cover.write
_i
mage(outputDir, 'image' + imageCount.to_s)
image = '<img height="200px" src="' + path + '"/>'
else
image = '(No cover image)'
image = '<img height="200px" src="' + path + '"/>'
else
image = '(No cover image)'