From 354d77f97af35d1c2d17b3d1886aba24f31e4880 Mon Sep 17 00:00:00 2001 From: Hemanta Pokharel Date: Fri, 29 Oct 2021 16:28:39 +0545 Subject: [PATCH] Fix README errors --- README.md | 2 +- docs/examples.rst | 2 +- ncellapp/register.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 05bf891..a91f09b 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ This is the unofficial python API wrapper of Ncell App. # This function will be executed after refreshing the token >>>def storeToken(token): ... with open('token','w') as f_in: -... f_in.write(token) +... f_in.write(token) # Creating an object of ncell which contains 'afterRefresh' and 'args' arguments. # See the documentation for more information. diff --git a/docs/examples.rst b/docs/examples.rst index aec0767..282a634 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -48,7 +48,7 @@ Manually refreshing the token and storing the refreshed token (Not recommended) # This function will be executed after refreshing the token >>>def storeToken(token): ... with open('token','w') as f_in: - ... f_in.write(token) + ... f_in.write(token) # Creating an object of ncell which contains 'afterRefresh' and 'args' arguments. # See the documentation for more information. diff --git a/ncellapp/register.py b/ncellapp/register.py index ad0c2a0..e70d2ac 100644 --- a/ncellapp/register.py +++ b/ncellapp/register.py @@ -63,7 +63,7 @@ def validateOtp(self, otp): >>> reg.validateOtp('123456') >>> reg.token - 'eyJtc2lzZx4iOiI5ODE0MDY2NTE4IiriYWNjZXNzVG9rZW4kOiJle...' + 'eyJt...' """ url = self.baseUrl + '/user/otp/validate'