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
|
# Shutting down all VMs by users who doesn't have money
|
||||||
user_balance = models.UsersBalance.select(
|
user_balance = models.UsersBalance.select(
|
||||||
models.UsersBalance.balance).where(models.UsersBalance.user == vm.user.id).get().balance
|
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
|
print "user_balance", user_balance
|
||||||
ControllerVMS(vm.user.id).status_set(vm.id, 3)
|
ControllerVMS(vm.user.id).status_set(vm.id, 3)
|
||||||
# Создание задания
|
# Создание задания
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -4,7 +4,7 @@ from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='SWSCloudCore',
|
name='SWSCloudCore',
|
||||||
version='2.7.7',
|
version='2.7.8',
|
||||||
author='Vyacheslav Anzhiganov',
|
author='Vyacheslav Anzhiganov',
|
||||||
author_email='hello@anzhiganov.com',
|
author_email='hello@anzhiganov.com',
|
||||||
packages=[
|
packages=[
|
||||||
|
|
Loading…
Add table
Reference in a new issue