Parcourir la source

[fixed] Missing colorama.init caused ANSI escape sequences appearing in the redirected output (#8)

TnS-hun il y a 6 ans
Parent
commit
9be507f14f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      kobo-book-downloader/Commands.py

+ 2 - 0
kobo-book-downloader/Commands.py

@@ -292,6 +292,8 @@ Examples:
 
 	@staticmethod
 	def ListWishListedBooks() -> None:
+		colorama.init()
+
 		rows = []
 
 		wishList = Globals.Kobo.GetMyWishList()