We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1f754e commit 41b751aCopy full SHA for 41b751a
fitbite.py
@@ -63,12 +63,12 @@ def order_seamless(calorie_level):
63
possible_orders = [o for o in orders if re.search(".*"+calorie_level+".*", o.find_element_by_tag_name('a').get_attribute('title'))]
64
65
n = len(possible_orders)
66
- if n==0:
+ if n == 0:
67
print "No suitable orders available at this time. It's probably too late to eat anyways!"
68
return ""
69
- elif n==1:
+ elif n == 1:
70
the_order = possible_orders[0]
71
- elif n>1:
+ elif n > 1:
72
the_order = possible_orders[random.sample(range(0,(len(possible_orders)-1)))]
73
74
# select the order
0 commit comments