Skip to content
Snippets Groups Projects
Commit eb2c8505 authored by hdd29's avatar hdd29
Browse files

The small error that ruin my life has been fixed

parent 68c0f1c7
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,13 @@ The command line utility cddb can be run as:
only 1 option can be run at a time, as they would have conflict if run ultiple at same time
Does not need any argument except for the environment variable $CDDB
Remember to set: export CDDB='$PATH'
before running the utility
THINGS TO DO BEFORE RUNNING:
- Set the environment variable $CDDB to the path of the CD database
- make clean (this will clean up the temp files of the previous add/delete)
after running the utility, the source code can be viewed by : make view
and the temporary files can be cleaned by: make clean
......@@ -249,7 +249,7 @@ def update(albumDict):
cd.close()
#cddb = open(f"{os.getenv('CDDB', 'CDDB not found')}", 'w')
with open("{os.getenv('CDDB', 'CDDB not found' )}", 'w') as cddb:
with open(f"{os.getenv('CDDB', 'CDDB not found' )}", 'w') as cddb:
for line in tempLines:
cddb.write("%s" % line)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment