Commit 2d85222a authored by psychedelys's avatar psychedelys
Browse files

using the Configuration.getFile instead of urlopen for the proxy if needed

parent bdd7bfe8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ db = Configuration.getMongoConnection()
info = db.info
# check modification date
try:
    u = urlopen(RefUrl)
    u = Configuration.getFile(RefUrl)
except:
    sys.exit("Cannot open url %s. Bad URL or not connected to the internet?"%(RefUrl))
i = info.find_one({'db': 'ref'})