diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-06-26 12:25:58 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-06-26 12:25:58 +1000 |
| commit | b47dcb1e0df2b6ee39a18e536fa66530fe5066d4 (patch) | |
| tree | 052892079eb35f07cfc1b52ff903e9089b064b4d /pywal/__main__.py | |
| parent | 3d1627f3c772fef0e24aa1303ff0982b8a7242ed (diff) | |
General: Generalise functions.
Diffstat (limited to 'pywal/__main__.py')
| -rwxr-xr-x | pywal/__main__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pywal/__main__.py b/pywal/__main__.py index 7ede827..8c402d4 100755 --- a/pywal/__main__.py +++ b/pywal/__main__.py @@ -69,11 +69,11 @@ def process_args(args): # -c if args.c: shutil.rmtree(s.CACHE_DIR / "schemes") - util.create_cache_dir() + util.create_dir(s.CACHE_DIR / "schemes") # -r if args.r: - gen_colors.reload_colors(args.t) + export.reload_colors(args.t) # -v if args.v: @@ -99,7 +99,7 @@ def process_args(args): def main(): """Main script function.""" - util.create_cache_dir() + util.create_dir(s.CACHE_DIR / "schemes") args = get_args() process_args(args) |
