fix mobi conversion getting stuck when output folder unchecked [12.1.0 bug] (#1474)
This commit is contained in:
1 parent
d341717518
commit
d7508cfb9e
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user