mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-29 03:13:47 +01:00
pylint: fixes
This commit is contained in:
parent
44d8402e6e
commit
9efc64f170
@ -128,7 +128,7 @@ def process_args(args):
|
||||
|
||||
if args.i:
|
||||
image_file = image.get(args.i)
|
||||
colors_plain = colors.gen(image_file, args.l, args.backend)
|
||||
colors_plain = colors.get(image_file, args.l, args.backend)
|
||||
|
||||
if args.f:
|
||||
colors_plain = colors.file(args.f)
|
||||
|
@ -53,7 +53,7 @@ def generic_adjust(colors, light):
|
||||
return colors
|
||||
|
||||
|
||||
def gen(img, light=False, backend="wal", cache_dir=CACHE_DIR):
|
||||
def get(img, light=False, backend="wal", cache_dir=CACHE_DIR):
|
||||
"""Generate a palette."""
|
||||
# home_dylan_img_jpg_backend_1.2.2.json
|
||||
color_type = "light" if light else "dark"
|
||||
|
Loading…
Reference in New Issue
Block a user