Fix for players not removed from online

utcnow instead of just now in datetimes
Signup not fits on windows client with message
This commit is contained in:
perast
2020-11-08 23:08:18 +01:00
parent 40af70d5ae
commit 1ee8f601a9
3 changed files with 17 additions and 18 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ MAPS = [ 'FRANCE' ] + [ 'INNSBRUCK' ] + [ 'LONDON' ] * 2 + [ 'NEWYORK' ] * 2 + [
dom = minidom.parseString('<MapSchedule><appointments></appointments><VERSION>1</VERSION></MapSchedule>')
appts = dom.getElementsByTagName('appointments')[0]
now = datetime.datetime.now()
now = datetime.datetime.utcnow()
prev_map = None
for i in range(0, 500):
map_choice = random.choice(MAPS)