From 5547358f07bd1d0984db73468f977c0a9684568c Mon Sep 17 00:00:00 2001 From: gc Date: Sat, 23 Feb 2008 23:15:28 +0000 Subject: [PATCH 1/1] old albums didn't necessarily have these set --- bin/booh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/booh b/bin/booh index c1e1fca..4796745 100755 --- a/bin/booh +++ b/bin/booh @@ -3200,8 +3200,8 @@ def properties if limit_sizes limit_sizes = limit_sizes.split(/,/) end - madewith = $xmldoc.root.attributes['made-with'].gsub(''', '\'') - indexlink = $xmldoc.root.attributes['index-link'].gsub(''', '\'') + madewith = ($xmldoc.root.attributes['made-with'] || '').gsub(''', '\'') + indexlink = ($xmldoc.root.attributes['index-link'] || '').gsub(''', '\'') tooltips = Gtk::Tooltips.new frame1 = Gtk::Frame.new(utf8(_("Locations"))).add(tbl = Gtk::Table.new(0, 0, false)) -- 2.30.4