Skip to content

Commit

Permalink
Merge pull request #38 from mapsme/event_time_fix
Browse files Browse the repository at this point in the history
fix mixed up parameters order
  • Loading branch information
jbenua authored Sep 10, 2019
2 parents 9433e58 + 8027718 commit c29d0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/pyaloha/ccode.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class PythonEventTime(object):
delta_past = 6 * 30 * msec_in_a_day
delta_future = 1 * msec_in_a_day

def __init__(self, client_dtime, server_dtime):
def __init__(self, server_dtime, client_dtime):
if client_dtime < server_dtime - self.delta_past or\
client_dtime > server_dtime + self.delta_future:
dtime = server_dtime
Expand Down

0 comments on commit c29d0e8

Please sign in to comment.