bug fixes
This commit is contained in:
parent
bffaee539d
commit
7464da34cf
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ if int(models.Settings.get_item('SERVICE_VMS_ENABLE')) == 1:
|
|||
# Shutting down all VMs by users who doesn't have money
|
||||
user_balance = models.UsersBalance.select(
|
||||
models.UsersBalance.balance).where(models.UsersBalance.user == vm.user.id).get().balance
|
||||
if -500 < user_balance:
|
||||
if -500 > user_balance:
|
||||
print "user_balance", user_balance
|
||||
ControllerVMS(vm.user.id).status_set(vm.id, 3)
|
||||
# Создание задания
|
||||
|
|
2
setup.py
2
setup.py
|
@ -4,7 +4,7 @@ from setuptools import setup
|
|||
|
||||
setup(
|
||||
name='SWSCloudCore',
|
||||
version='2.7.7',
|
||||
version='2.7.8',
|
||||
author='Vyacheslav Anzhiganov',
|
||||
author_email='hello@anzhiganov.com',
|
||||
packages=[
|
||||
|
|
Loading…
Add table
Reference in a new issue