diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2014-07-05 09:38:10 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2014-07-05 09:38:10 +0200 |
commit | db77d89817e49b6d2788d7d6abf7ae700c57415e (patch) | |
tree | d248d31953f68c5fda1770cbdca86ab6ce2584d6 | |
parent | Resolved problems with page order on Kobo (diff) | |
download | kcc-db77d89817e49b6d2788d7d6abf7ae700c57415e.tar.gz kcc-db77d89817e49b6d2788d7d6abf7ae700c57415e.tar.bz2 kcc-db77d89817e49b6d2788d7d6abf7ae700c57415e.zip |
Fixed Other profile
-rwxr-xr-x | kcc/comic2ebook.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 3f6bc50..d1acebc 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -1065,8 +1065,8 @@ def checkOptions(): X = options.customwidth if options.customheight != 0: Y = options.customheight - newProfile = ("Custom", (X, Y), image.ProfileData.Palette16, image.ProfileData.Profiles[options.profile][3], - (int(X*1.5), int(Y*1.5))) + newProfile = ("Custom", (int(X), int(Y)), image.ProfileData.Palette16, + image.ProfileData.Profiles[options.profile][3], (int(int(X)*1.5), int(int(Y)*1.5))) image.ProfileData.Profiles["Custom"] = newProfile options.profile = "Custom" options.profileData = image.ProfileData.Profiles[options.profile] |