mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-20 17:47:44 +02:00
Fix filename
This commit is contained in:
parent
1bd5542beb
commit
f44ca5da87
@ -179,13 +179,13 @@ def parse_args(parser):
|
||||
colors_plain = theme.file(os.path.join(CACHE_DIR, "colors.json"))
|
||||
|
||||
if args.l:
|
||||
f = open(os.path.join(CACHE_DIR, "wal"))
|
||||
cached_wallpaper = f.read()
|
||||
wallpaper_cache = open(os.path.join(CACHE_DIR, "wal"))
|
||||
cached_wallpaper = wallpaper_cache.read()
|
||||
colors_plain = colors.get(cached_wallpaper, True, args.backend,
|
||||
sat=args.saturate)
|
||||
elif args.d:
|
||||
f = open(os.path.join(CACHE_DIR, "wal"))
|
||||
cached_wallpaper = f.read()
|
||||
wallpaper_cache = open(os.path.join(CACHE_DIR, "wal"))
|
||||
cached_wallpaper = wallpaper_cache.read()
|
||||
colors_plain = colors.get(cached_wallpaper, False, args.backend,
|
||||
sat=args.saturate)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user