mirror of https://github.com/zulip/zulip.git
stats: Avoid referencing remote tables outside conditional.
This commit is contained in:
parent
6cbfec89bc
commit
65557c458d
|
@ -220,9 +220,9 @@ def get_chart_data(
|
|||
server: Optional["RemoteZulipServer"] = None,
|
||||
) -> HttpResponse:
|
||||
TableType = Union[
|
||||
Type[RemoteInstallationCount],
|
||||
Type["RemoteInstallationCount"],
|
||||
Type[InstallationCount],
|
||||
Type[RemoteRealmCount],
|
||||
Type["RemoteRealmCount"],
|
||||
Type[RealmCount],
|
||||
]
|
||||
if for_installation:
|
||||
|
|
Loading…
Reference in New Issue