403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/deskutils/foliate/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/deskutils/foliate/files/patch-src_assets_KindleUnpack_kindleunpack.py
Fixes unicode display correctly, this prevents crashing on opening
(kindle format files).

--- src/assets/KindleUnpack/kindleunpack.py.orig	2019-10-07 19:55:37 UTC
+++ src/assets/KindleUnpack/kindleunpack.py
@@ -952,8 +952,8 @@ def main(argv=unicode_argv()):
     global SPLIT_COMBO_MOBIS
 
     print("KindleUnpack v0.82")
-    print("   Based on initial mobipocket version Copyright © 2009 Charles M. Hannum <root@ihack.net>")
-    print("   Extensive Extensions and Improvements Copyright © 2009-2014 ")
+    print("   Based on initial mobipocket version Copyright © 2009 Charles M. Hannum <root@ihack.net>".encode("utf-8"))
+    print("   Extensive Extensions and Improvements Copyright © 2009-2014 ".encode("utf-8"))
     print("       by:  P. Durrant, K. Hendricks, S. Siebert, fandrieu, DiapDealer, nickredding, tkeo.")
     print("   This program is free software: you can redistribute it and/or modify")
     print("   it under the terms of the GNU General Public License as published by")

Youez - 2016 - github.com/yon3zu
LinuXploit