aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'server/host.py')
-rw-r--r--server/host.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/host.py b/server/host.py
index 50df581..f737a6d 100644
--- a/server/host.py
+++ b/server/host.py
@@ -117,7 +117,7 @@ class Host(object):
rkey = helpers.get_rkey(db, post_data_pkg['REPO'])
# Insert in INSTALLED_PACKAGES
- ipkey = db.insert('INSTALLED_PACKAGES', UUID=uuid, PKEY=pkey, BUILD_TIME=post_data_pkg['BUILD_TIME'],
+ ipkey = db.insert('INSTALLED_PACKAGES', UUID=uuid, PKEY=pkey, BUILD_TIME=int(post_data_pkg['BUILD_TIME']),
COUNTER=post_data_pkg['COUNTER'], KWKEY=kwkey, RKEY=rkey, SIZE=post_data_pkg['SIZE'])
# Insert in PLUS_USEFLAGS