From cec20ffba1a2563fc47cd1964b95f4c30e169bdf Mon Sep 17 00:00:00 2001 From: npdev453 Date: Tue, 24 Nov 2020 13:17:29 +0300 Subject: [PATCH] Update export.py --- pywal/export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pywal/export.py b/pywal/export.py index 2e28ae0..0ce4698 100644 --- a/pywal/export.py +++ b/pywal/export.py @@ -6,7 +6,7 @@ import os import re from . import util -from .settings import CACHE_DIR, CONF_DIR, MODULE_DIR +from .settings import CACHE_DIR, CONF_DIR, MODULE_DIR, OS def template(colors, input_file, output_file=None): @@ -79,7 +79,7 @@ def flatten_colors(colors): Flatten dicts and convert colors to util.Color()""" wallpaper_path = colors["wallpaper"] - if os == "Windows": + if OS == "Windows": wallpaper_path = wallpaper_path.replace("\\", "\\\\") all_colors = {"wallpaper": wallpaper_path,