mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-04 02:36:33 +08:00
Reformat files with black
This commit is contained in:
parent
ff00b4e4f5
commit
f8a18f2323
2 changed files with 2 additions and 3 deletions
|
@ -39,5 +39,5 @@ version_dict = {
|
|||
|
||||
|
||||
# Python 3.7 versions are considered legacy since they don't support msgspec
|
||||
# Pytohn 3.9 has some issues with msgspec.struct (using a struct decoder will fail with "msgspec.ValidationError: Expected `LsNode`, got `dict`")
|
||||
IS_LEGACY = True if sys.version_info[1] < 10 else False
|
||||
# Pytohn 3.9 has some issues with msgspec.struct (using a struct decoder will fail with "msgspec.ValidationError: Expected `LsNode`, got `dict`")
|
||||
IS_LEGACY = True if sys.version_info[1] < 10 else False
|
||||
|
|
|
@ -23,4 +23,3 @@ CURRENT_EXECUTABLE = os.path.abspath(sys.argv[0])
|
|||
CURRENT_DIR = os.path.dirname(CURRENT_EXECUTABLE)
|
||||
# When run with nuitka onefile, this will be the temp directory, else, this will be the path to current file
|
||||
BASEDIR = os.path.abspath(os.path.dirname(os.path.realpath(__file__)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue