fix mobi conversion getting stuck when output folder unchecked [12.1.0 bug] (#1474)

This commit is contained in:
Alex Xu authored and GitHub committed 2026-10-21 21:24:31 -07:00
1 parent d341717518
commit d7508cfb9e
1 file changed
+1 -1
+1 -1
View File
@@ -1131,7 +1131,7 @@ def getOutputFilename(srcpath, wantedname, ext, tomenumber):
while os.path.isfile(basename + '_kcc' + str(counter) + '.mobi'):
counter += 1
filename = basename + '_kcc' + str(counter) + ext
return filename
return str(filename)
def getMetadata(path, originalpath):