Skip to content

Commit

Permalink
waiting for push
Browse files Browse the repository at this point in the history
  • Loading branch information
miladbarooni committed Jan 23, 2020
1 parent ec5540b commit e8ee6bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Main.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from tkinter import Tk, Label, Button, Toplevel, StringVar, Entry, messagebox, Frame, END, Scrollbar, Y, RIGHT
from tkinter import Checkbutton, IntVar, BooleanVar
from tkinter import Checkbutton, IntVar, BooleanVar, TkT

from functools import partial
import tkinter as tk
from tkinter.ttk import Separator, Style, Combobox
from tkinter.ttk import Separator, Style, Combobox, Treeview
from time import sleep
from snapFood import *

Expand Down Expand Up @@ -294,7 +294,11 @@ def showRestaurants():
if (variable.get()):
index = all_variables.index(variable)
address_id = all_address[index][0]
mydb.searchShopByLocation()
resturants = mydb.searchShopByLocation(int(address_id), 10)
print (resturants)
self.searched_resturant_screen = Tk()
self.searched_resturant_screen.title("Results")

self.address_selection_screen = Tk()
self.address_selection_screen.title("Your addresses")
self.address_selection_screen.geometry("700x500")
Expand Down
Binary file modified __pycache__/snapFood.cpython-37.pyc
Binary file not shown.

0 comments on commit e8ee6bf

Please sign in to comment.