mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-26 04:04:22 +01:00
automode: fix typo in loadDB()
This commit is contained in:
parent
916817443e
commit
8169a2b751
@ -30,7 +30,7 @@ def loadDB():
|
|||||||
with open(dbname, "r") as f:
|
with open(dbname, "r") as f:
|
||||||
db.update(json.load(f))
|
db.update(json.load(f))
|
||||||
except (ValueError, IOError, OSError):
|
except (ValueError, IOError, OSError):
|
||||||
log.info("Automode: failed to load links database %s; using the one in"
|
log.info("Automode: failed to load links database %s; creating a new one in "
|
||||||
"memory.", dbname)
|
"memory.", dbname)
|
||||||
|
|
||||||
def exportDB():
|
def exportDB():
|
||||||
|
Loading…
Reference in New Issue
Block a user