Skip to content

Commit

Permalink
typo + pylint warning
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@21925 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Mar 1, 2019
1 parent f63b4fd commit 915d154
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/xpra/codecs/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def xpra_codec_import(name, description, top_module, class_module, classname):
#encoders:
"enc_pillow" : ("Pillow encoder", "pillow", "encode", "encode"),
"enc_webp" : ("webp encoder", "webp", "encode", "compress"),
"enc_jpeg" : ("JPEG decoder", "jpeg", "encoder", "encoder"),
"enc_jpeg" : ("JPEG encoder", "jpeg", "encoder", "encode"),
#video encoders:
"enc_vpx" : ("vpx encoder", "vpx", "encoder", "Encoder"),
"enc_x264" : ("x264 encoder", "enc_x264", "encoder", "Encoder"),
Expand Down Expand Up @@ -275,7 +275,8 @@ def get_encoding_help(encoding):
"webp" : "WebP compression (supports lossless and lossy modes)",
"jpeg" : "JPEG lossy compression",
"jpeg2000": "JPEG 2000 lossy compression (slow)",
"rgb" : "Raw RGB pixels, lossless, compressed using %s (24bpp or 32bpp for transparency)" % (" or ".join(compressors)),
"rgb" : "Raw RGB pixels, lossless,"
+" compressed using %s (24bpp or 32bpp for transparency)" % (" or ".join(compressors)),
}.get(encoding)


Expand Down

0 comments on commit 915d154

Please sign in to comment.