Skip to content

Commit 3bf4783

Browse files
committed
There is no SEA depot, use US. closes #123.
1 parent 36fcc19 commit 3bf4783

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sc2reader/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ def __init__(self, bytes):
2323
#: The server the file is hosted on
2424
self.server = bytes[4:8].strip('\x00 ')
2525

26+
# There is no SEA depot, use US instead
27+
if self.server == 'SEA':
28+
self.server = 'US'
29+
2630
#: The unique content based hash of the file
2731
self.hash = bytes[8:].encode('hex')
2832

0 commit comments

Comments
 (0)