mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[Utils] Stop using : in backup's filename - Windows doesn't accept it (#2957)
This commit is contained in:
@@ -410,7 +410,7 @@ async def create_backup(dest: Path = Path.home()) -> Optional[Path]:
|
||||
return
|
||||
|
||||
dest.mkdir(parents=True, exist_ok=True)
|
||||
timestr = datetime.utcnow().isoformat(timespec="minutes")
|
||||
timestr = datetime.utcnow().strftime("%Y-%m-%dT%H-%M-%S")
|
||||
backup_fpath = dest / f"redv3_{data_manager.instance_name}_{timestr}.tar.gz"
|
||||
|
||||
to_backup = []
|
||||
|
||||
Reference in New Issue
Block a user