diff options
author | hut <hut@lepus.uberspace.de> | 2015-01-18 18:31:52 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-01-18 18:31:52 +0100 |
commit | 28e7939492280565fbec22e341a1ef6ea798b4c3 (patch) | |
tree | f56926c00f1bc70d831da4570577c18ae3c05e53 /ranger | |
parent | 47015dca61abce9badd370651b28b94092503674 (diff) | |
download | ranger-28e7939492280565fbec22e341a1ef6ea798b4c3.tar.gz |
gui.widgets.browsercolumn: Set default value for text
this can avoid crashes
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/browsercolumn.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py index 00cac553..564e9a5f 100644 --- a/ranger/gui/widgets/browsercolumn.py +++ b/ranger/gui/widgets/browsercolumn.py @@ -269,6 +269,7 @@ class BrowserColumn(Pager): # Deal with the line mode + text = "" if use_linemode == "metatitle": assert metadata.title, "Ensure that metadata.title is set!" if metadata.year: |