W1lla van den Munckhof

Results 72 comments of W1lla van den Munckhof

For pyplanet it can be done in manager.py as seen in the pull request no: #1039

Only did the conversion not vice-versa. But its basicly the other way around.

Might have found a solution: https://www.titanwolf.org/Network/q/d56bd601-b762-48aa-8c5d-ee93e10201fa/y

https://stackoverflow.com/a/69378029 saved the solution for me.

`# Determinate handler and initiate it. if settings.LOGGING_ROTATE_LOGS: handler = logging.handlers.TimedRotatingFileHandler( path, when='D', interval=1, backupCount=14, encoding='utf-8', delay=True ) else: handler = logging.FileHandler( path, encoding='utf-8' )` Delay must be set to...

This happens when players leave or join. Only way to fix it is by adding a function to count current actove players when vote starts.

```async def add_vote(self, player): """ Called to add a vote by a player to the object. :param player: player who voted for the vote """ if player.login in self.votes_current: return...

![ScreenShot10](https://user-images.githubusercontent.com/1784761/194287211-6e192f85-1d30-46fa-acff-4e4e0fc09d07.jpg) Same issue, different story it seems, I did not vote but the vote came through as the vote initiator apparently his vote got counted.

Could be closed, but still a vote initiator should not be counted as a voter. (More a discussion for discord)