File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,11 @@ class DepotFile(object):
25
25
def __init__ (self , bytes ):
26
26
#: The server the file is hosted on
27
27
self .server = bytes [4 :8 ].decode ("utf-8" ).strip ("\x00 " )
28
- #: Used to make it possible to load maps from CN. This isn't needed for any other region and so is blank by default.
28
+
29
+ # Used to make it possible to load maps from CN.
30
+ # This isn't needed for any other region and so is blank by default.
29
31
self .url_suffix = ""
32
+
30
33
# There is no SEA depot, use US instead
31
34
if self .server == "SEA" :
32
35
self .server = "US"
@@ -42,7 +45,9 @@ def __init__(self, bytes):
42
45
@property
43
46
def url (self ):
44
47
"""Returns url of the depot file."""
45
- return self .url_template .format (self .server , self .url_suffix , self .hash , self .type )
48
+ return self .url_template .format (
49
+ self .server , self .url_suffix , self .hash , self .type
50
+ )
46
51
47
52
def __hash__ (self ):
48
53
return hash (self .url )
You can’t perform that action at this time.
0 commit comments