Merge remote-tracking branch 'zyx-i/fix-379' into develop
This commit is contained in:
commit
fd9af0617e
|
@ -603,7 +603,7 @@ def user(pl, segment_info=None):
|
||||||
'''
|
'''
|
||||||
global username
|
global username
|
||||||
if username is False:
|
if username is False:
|
||||||
username = _get_user(pl)
|
username = _get_user(segment_info)
|
||||||
if username is None:
|
if username is None:
|
||||||
pl.warn('Failed to get username')
|
pl.warn('Failed to get username')
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue