Enhance a bit build_cache.py script
This commit is contained in:
parent
467a04c2d1
commit
9eb748fd60
@ -4,7 +4,7 @@ import math
|
||||
import os
|
||||
import sqlite3
|
||||
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
if "XDG_DATA_HOME" in os.environ:
|
||||
_MPDBLISS_DATA_HOME = os.path.expandvars("$XDG_DATA_HOME/mpdbliss")
|
||||
@ -70,4 +70,7 @@ def main():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
try:
|
||||
main()
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user