mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-16 09:10:35 +03:00
Tweak non-developer-running-develop check
This allows for someone running a custom branch, with working `git branch`, even if it's an `-alpha0` version.
This commit is contained in:
parent
18dae6513d
commit
8386487dc1
@ -387,7 +387,9 @@ if __name__ == '__main__': # noqa: C901
|
||||
if (
|
||||
(
|
||||
git_branch == 'develop'
|
||||
or '-alpha0' in str(appversion())
|
||||
or (
|
||||
git_branch == '' and '-alpha0' in str(appversion())
|
||||
)
|
||||
) and (
|
||||
(
|
||||
sys.platform == 'linux'
|
||||
@ -397,7 +399,7 @@ if __name__ == '__main__': # noqa: C901
|
||||
or (
|
||||
sys.platform == 'win32'
|
||||
and environ.get('USERNAME') is not None
|
||||
and environ['USERNAME'] not in ['Athan']
|
||||
and environ['USERNAME'] not in ['XAthan']
|
||||
)
|
||||
)
|
||||
):
|
||||
|
Loading…
x
Reference in New Issue
Block a user