mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-05-23 08:11:46 -07:00
WebHost: fix is_zipfile check for flask FileStorage objects
- and assorted cleanup
This commit is contained in:
+2
-3
@@ -782,10 +782,9 @@ class RegionType(int, Enum):
|
||||
|
||||
|
||||
class Region(object):
|
||||
|
||||
def __init__(self, name: str, type: str, hint, player: int, world: Optional[MultiWorld] = None):
|
||||
def __init__(self, name: str, type_: RegionType, hint, player: int, world: Optional[MultiWorld] = None):
|
||||
self.name = name
|
||||
self.type = type
|
||||
self.type = type_
|
||||
self.entrances = []
|
||||
self.exits = []
|
||||
self.locations = []
|
||||
|
||||
Reference in New Issue
Block a user