--- mp3togo/track.py
+++ mp3togo/track.py
@@ -227,13 +227,14 @@ class Track:
# Tag
# tag files from the cache as well, brwarning may have changed
- def tag_output():
- self.tags.write(self._outname)
- return True
- job = task.SimpleTask(self, tag_output, None,
- lambda: True, name="Tagging")
- tasks.append(job)
- del job
+ if not opts['notags']:
+ def tag_output():
+ self.tags.write(self._outname)
+ return True
+ job = task.SimpleTask(self, tag_output, None,
+ lambda: True, name="Tagging")
+ tasks.append(job)
+ del job
# Cache the output if we had to go to the trouble of producing it
if not self._hash and self._cache: