Skip to content

Commit 4600ce8

Browse files
committed
fix
2 parents d0a2fb0 + e406430 commit 4600ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiniu/test/resumable_io_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_block(self):
5454
def test_put(self):
5555
src = urllib.urlopen("http://cheneya.qiniudn.com/hello_jpg")
5656
ostype = platform.system()
57-
if ostype.lower().find("windows"):
57+
if ostype.lower().find("windows") != -1:
5858
tmpf = "".join([os.getcwd(), os.tmpnam()])
5959
else:
6060
tmpf = os.tmpnam()

0 commit comments

Comments
 (0)