summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/plugins/captcha/captcha.py2
-rw-r--r--module/setup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/captcha/captcha.py b/module/plugins/captcha/captcha.py
index ed235246a..51021e8a5 100644
--- a/module/plugins/captcha/captcha.py
+++ b/module/plugins/captcha/captcha.py
@@ -18,7 +18,7 @@
#
###
from __future__ import with_statement
-import os.name
+import os
from os.path import join
import logging
import subprocess
diff --git a/module/setup.py b/module/setup.py
index 96c56edda..63da0e83e 100644
--- a/module/setup.py
+++ b/module/setup.py
@@ -20,7 +20,7 @@ from getpass import getpass
import gettext
from hashlib import sha1
from os import remove
-import os.name
+import os
from os.path import abspath
from os.path import dirname
from os.path import isfile