diff --git a/export.py b/export.py index 45e7569f4ba536928e4fca2b3cae14752ec1967f..1ccc8efdc5550972f9c211c345368491001cce54 100644 --- a/export.py +++ b/export.py @@ -22,4 +22,4 @@ conn = sqlite3.connect('db/urls.db') cursor = conn.cursor() res = cursor.execute('SELECT LONG_URL, SHORT_URL FROM WEB_URL WHERE 1') #read all data from database for entries in res.fetchall(): - print(str(entries[1]) + ";" + str(entries[0])) #format the data and print it to console. \ No newline at end of file + print(str(entries[1]).replace('"', "") + ";" + str(entries[0]).replace('"', "")) #format the data and print it to console. \ No newline at end of file