Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
amalthomas-exe committed Feb 26, 2021
1 parent 3ee2e0b commit d8872d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Binary file added database/data.dat
Binary file not shown.
10 changes: 8 additions & 2 deletions traveller.io.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@
import tkinter as tk
from tkinter import ttk
from tkinter import messagebox as msg
from tkcalendar import DateEntry
import keyring
from tkcalendar import DateEntry #pip install tkcalender
from PIL import ImageTk,Image
from plyer import notification
import pickle
import sqlite3
import yagmail
import cryptocode
import random
mailer = yagmail.SMTP('[email protected]') #connecting to SMTP server
key="key123420202021"
f = open("database\\data.dat","rb")
data = pickle.load(f)
mailer = yagmail.SMTP(cryptocode.decrypt(data["id"],key),cryptocode.decrypt(data["passwd"],key)) #connecting to SMTP server
con = sqlite3.connect("database\\traveller_io.db") #connecting to MySQL server
c = con.cursor()
def generate_PNR():
Expand Down

0 comments on commit d8872d0

Please sign in to comment.