Browse Source

made change to form number to be filled

master
theycallmemac 3 years ago
parent
commit
2ef06ae27a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      scripts/room_booking.py
  2. +1
    -1
      scripts/utils.py

+ 1
- 1
scripts/room_booking.py View File

@@ -33,7 +33,7 @@ class RoomBooking(object):
room, date, start, end = self.arguments[0], self.arguments[1].split("/"), self.arguments[2][:2] + ":" + self.arguments[2][2:], self.arguments[3][:2] + ":" + self.arguments[3][2:]
day, month, year = date[0], date[1], date[2]
browser.open("http://www.dcu.ie/registry/booking.shtml")
browser.select_form(nr=2)
browser.select_form(nr=4)
browser["submitted[name_of_club_society]"] = self.society
browser["submitted[name_of_person_making_booking]"] = self.name
browser["submitted[contact_telephone_number]"] = self.number


+ 1
- 1
scripts/utils.py View File

@@ -73,7 +73,7 @@ def get_version_form():
society = raw_input("Society name: ")
return email, number, name, society
else:
name = string(input("Your name: "))
name = input("Your name: ")
email = input("Your email: ")
number = input("Your number: ")
society = input("Society name: ")


Loading…
Cancel
Save