diff --git a/app/redirectShortenURL.py b/app/redirectShortenURL.py
index dd37c83410d161d4a3adee8e61989947c6583991..be472d93aedff3b4b8403a5d39a7bdc894022d87 100644
--- a/app/redirectShortenURL.py
+++ b/app/redirectShortenURL.py
@@ -20,7 +20,7 @@ def redirect_shorten_url(request, short_url):
row = row = cursor.fetchone()
if not row is None:
calls = row[0] + 1
- cursor.execute('UPDATE ANALYTICS SET CALLS = ? WHERE SHORT_URL=?', (str(calls), host + "/" + short_url.lower()))
+ cursor.execute('UPDATE ANALYTICS SET CALLS = ? WHERE SHORT_URL=?', [calls, host + "/" + short_url.lower()])
else:
cursor.execute('INSERT INTO ANALYTICS (SHORT_URL) VALUES (?)', [host + "/" + short_url.lower()])