diff --git a/lmwsip/__init__.py b/lmwsip/__init__.py index 7616a99..357991b 100644 --- a/lmwsip/__init__.py +++ b/lmwsip/__init__.py @@ -562,8 +562,8 @@ Opens the connection and logs in. # Also note that we use GMT. So we should add one hour # because we use GMT +1 (MET, UTC-1) # + now=time.time() if (parameter.find("10") != -1): - now=time.time() dt = now%600 if (dt < 330): now = 3000 + now - dt @@ -573,7 +573,7 @@ Opens the connection and logs in. # # e.g. H1 use 30 seconds to calculate the time. # - dt = now%600 + dt = now%60 if (dt < 30): now = 3540 + now - dt else: