Fix local variable referenced before assignment exception

Allows any server to be added to the list if there is no filter specified.
This commit is contained in:
polaris-
2014-11-04 07:56:53 -05:00
parent b5ec7bd4d8
commit 144f07597f

View File

@@ -340,6 +340,7 @@ class GameSpyBackendServer(object):
else:
# There are no filters, so just return the server.
result = True
valid_filter = True
if stop_search == True:
break