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):
2525 def __init__ (self , bytes ):
2626 #: The server the file is hosted on
2727 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.
2931 self .url_suffix = ""
32+
3033 # There is no SEA depot, use US instead
3134 if self .server == "SEA" :
3235 self .server = "US"
@@ -42,7 +45,9 @@ def __init__(self, bytes):
4245 @property
4346 def url (self ):
4447 """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+ )
4651
4752 def __hash__ (self ):
4853 return hash (self .url )
You can’t perform that action at this time.
0 commit comments