diff options
author | hut <hut@lepus.uberspace.de> | 2014-12-03 19:28:13 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2014-12-03 19:28:13 +0100 |
commit | 1f144a8a067eb23267f2f7eb5be0a725b97e8a68 (patch) | |
tree | 16540fa1f2dbea914ede5e85b6239c3586d5ad88 /ranger | |
parent | 45a43d9cdaf0fc6bb85c3b188743ac0b3617b2a9 (diff) | |
download | ranger-1f144a8a067eb23267f2f7eb5be0a725b97e8a68.tar.gz |
ext.papermanager: move pagerinfo file name into variable
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/ext/papermanager.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ranger/ext/papermanager.py b/ranger/ext/papermanager.py index 4e53bcc7..69332b21 100644 --- a/ranger/ext/papermanager.py +++ b/ranger/ext/papermanager.py @@ -14,6 +14,8 @@ The columns are: 5. URL """ +PAGERINFO_FILE_NAME = ".pagerinfo" + import csv from os.path import join, dirname, exists, basename @@ -34,7 +36,7 @@ class PaperManager(object): except KeyError: result = OpenStruct(filename=filename, title=None, year=None, authors=None, url=None) - metafile = join(dirname(filename), ".paperinfo") + metafile = join(dirname(filename), PAGERINFO_FILE_NAME) # get entries of the metadata file if metafile in self.metafile_cache: |