mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 21:38:59 +08:00
Fix typing
CURA-6153
This commit is contained in:
parent
7e11345f14
commit
18cec8dbe8
@ -1,8 +1,10 @@
|
||||
import configparser
|
||||
from typing import Tuple, List, Set
|
||||
from typing import Tuple, List, Set, Dict
|
||||
import io
|
||||
|
||||
from UM.VersionUpgrade import VersionUpgrade
|
||||
from cura.PrinterOutputDevice import ConnectionType
|
||||
|
||||
deleted_settings = {"bridge_wall_max_overhang"} # type: Set[str]
|
||||
renamed_configurations = {"connect_group_name": "group_name"} # type: Dict[str, str]
|
||||
|
||||
@ -31,7 +33,6 @@ class VersionUpgrade35to40(VersionUpgrade):
|
||||
result = io.StringIO()
|
||||
parser.write(result)
|
||||
return [filename], [result.getvalue()]
|
||||
pass
|
||||
|
||||
def getCfgVersion(self, serialised: str) -> int:
|
||||
parser = configparser.ConfigParser(interpolation = None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user