From 85c9446f287bfe621b33ee4e083cf0888b6e9955 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Mon, 8 Feb 2016 00:28:37 +0100 Subject: [PATCH] Linux fix --- red.py | 1 + 1 file changed, 1 insertion(+) diff --git a/red.py b/red.py index 5f6470109..83b047453 100644 --- a/red.py +++ b/red.py @@ -221,6 +221,7 @@ def list_cogs(): cogs = glob.glob("cogs/*.py") clean = [] for c in cogs: + c = c.replace("/", "\\") # Linux fix clean.append("cogs." + c.split("\\")[1].replace(".py", "")) return clean