Commit ca677743 authored by Ruzal Gimazov's avatar Ruzal Gimazov Committed by Ruzal Gimazov

bug fixed

parent 672fc9ad
...@@ -7,10 +7,10 @@ f.close() ...@@ -7,10 +7,10 @@ f.close()
if line[:10] == "host_redis": if line[:10] == "host_redis":
i = 10 i = 10
while (line[i] == ' '): while (line[i] == ' '):
i+=1 i+=1
i+=1 i+=1
while (line[i] == ' '): while (line[i] == ' '):
i+=1 i+=1
if line[-1] == '\n': if line[-1] == '\n':
host_redis = line[i:-1] host_redis = line[i:-1]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment