Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/sys.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Farabet <clement.farabet@gmail.com>2011-07-27 10:49:22 +0400
committerClement Farabet <clement.farabet@gmail.com>2011-07-27 10:49:22 +0400
commit0828d41b3c8d7b8e809c0d8a9a5a910b09f799c4 (patch)
tree961a817750c6a60fd4c439dce87cb1fa6a1c3aca
parentff67744afb72a6fc7d410991aece9dc64629f6fd (diff)
Fixed color loader.
-rw-r--r--sys.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys.lua b/sys.lua
index 6a2c10a..6872d5c 100644
--- a/sys.lua
+++ b/sys.lua
@@ -182,7 +182,7 @@ end
--------------------------------------------------------------------------------
-- colors, can be used to print things in color
--------------------------------------------------------------------------------
-if qt and qt.qConsole.captureOutput then
+if _G.qt and _G.qt.qConsole.captureOutput then
COLORS = {none = '',
black = '',
red = '',