aboutsummaryrefslogtreecommitdiffstats
path: root/rank.py
diff options
context:
space:
mode:
Diffstat (limited to 'rank.py')
-rw-r--r--rank.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rank.py b/rank.py
index 16e1d8f..76ca181 100644
--- a/rank.py
+++ b/rank.py
@@ -125,6 +125,8 @@ if __name__ == '__main__':
# First download the bibliography file.
import BibTeX
config.load(sys.argv[1])
+ if config.CACHE_UMASK != None:
+ os.umask(config.CACHE_UMASK)
bib = BibTeX.parseFile(config.MASTER_BIB)
remove_old()
print "Downloading missing ranks."