Skip to content

Commit

Permalink
Except that colons aren't allowed because Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Starlii10 committed Sep 20, 2024
1 parent 4103ce6 commit 9bde576
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions extras/viviatools.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import random
import sys
import colorlog

import discord

if __name__ == "__main__":
Expand Down Expand Up @@ -73,7 +72,7 @@
logger.setLevel(logging.INFO)

# File logging
handler = logging.FileHandler(f'data/logs/{datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")}.log')
handler = logging.FileHandler(f'data/logs/{datetime.datetime.now().strftime("%Y-%m-%d %H-%M-%S")}.log')
handler.setFormatter(logging.Formatter('%(asctime)s %(levelname)s\t %(message)s'))
logger.addHandler(handler)

Expand Down

0 comments on commit 9bde576

Please sign in to comment.