summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index 63e422f3..4b119589 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -190,7 +190,7 @@ pastebufferr = """Redirecting to or from paste buffer requires %s
to be installed on operating system.
%s"""
-if subprocess.mswindows:
+if sys.platform == "win32":
try:
import win32clipboard
def get_paste_buffer():