Skip to content

Commit

Permalink
v1.2.3 (fix to server creation)
Browse files Browse the repository at this point in the history
  • Loading branch information
itschasa committed Aug 7, 2023
1 parent c90aaaf commit 6abddad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build/
*.pyc
*.bkup
7 changes: 5 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# License v3.0. A copy of this license is available at
# https://www.gnu.org/licenses/agpl-3.0.en.html

app_version = "v1.2.2"
app_version = "v1.2.3"

import time
import sys
Expand All @@ -19,7 +19,10 @@
from colorama import Fore

from client_info import request_client_identifier
request_client = tls_client.Session(client_identifier=request_client_identifier)
request_client = tls_client.Session(
client_identifier=request_client_identifier,
random_tls_extension_order=True
)

# change cwd (for auto-backup)
try: cwd = sys.argv[2]
Expand Down
2 changes: 1 addition & 1 deletion restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, token, c: console.prnt, restore_server_folders, restore_data,
self.restore_data = restore_data

if self.restore_data['version'] != version:
self.c.warn(f"This Backup wasn't done on the same version of this software. (b: {self.restore_data}, c:{version})")
self.c.warn(f"This Backup wasn't done on the same version of this software. (backup: {self.restore_data['version']}, current version:{version})")
self.c.warn(f"This could lead to unexpected errors or side effects.")
self.c.warn(f"It's recommended you change your software version to the same version as the backup was done on before continuing.")
self.c.inp(f"Are you sure you want to continue? ({colours['main_colour']}y/n{colours['white']})", end=f"{colours['white']}")
Expand Down

0 comments on commit 6abddad

Please sign in to comment.