diff options
Diffstat (limited to 'TurtleArt/tautils.py')
-rw-r--r-- | TurtleArt/tautils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tautils.py b/TurtleArt/tautils.py index 6d530af..3445b3e 100644 --- a/TurtleArt/tautils.py +++ b/TurtleArt/tautils.py @@ -804,8 +804,8 @@ def get_hardware(): return XO1 else: return UNKNOWN - elif path.exists('/etc/olpc-release') or \ - path.exists('/sys/power/olpc-pm'): + elif os.path.exists('/etc/olpc-release') or \ + os.path.exists('/sys/power/olpc-pm'): return XO1 else: return UNKNOWN |