File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- __version__ = '1.5.3 '
1+ __version__ = '1.6.4 '
22
33from .registrar import Registrar
44from .directory import Directory
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ def create_hall_to_link_mapping(self):
4848 for hall in halls :
4949 hall_name = hall .contents [0 ].string
5050 hall_name = hall_name .replace ("/" , " " ) # convert / to space
51+ if hall_name .split ()[0 ] in ["Harrison" , "Harnwell" , "Rodin" ]:
52+ hall_name = hall_name .replace (" " , "_" , 1 )
5153 self .hall_to_link [hall_name ] = ALL_URL + hall .contents [0 ]['href' ]
5254 self .id_to_hall [str (counter )] = hall_name
5355 self .hall_id_list .append ({"hall_name" : hall_name , "id" : counter })
@@ -73,7 +75,7 @@ def update_machine_object(cols, machine_object):
7375 # edge case that handles machine not sending time data
7476 diff = int (machine_object ["running" ]) - len (machine_object ["time_remaining" ])
7577 while diff > 0 :
76- machine_object ["time_remaining" ].append ("not updating status" )
78+ machine_object ["time_remaining" ].append (- 1 )
7779 diff = diff - 1
7880
7981 return machine_object
Original file line number Diff line number Diff line change 77 url = 'https://github.com/pennlabs/penn-sdk-python' ,
88 author = 'Penn Labs' ,
99 author_email = 'admin@pennlabs.org' ,
10- version = '1.6.3 ' ,
10+ version = '1.6.4 ' ,
1111 packages = ['penn' ],
1212 license = 'MIT' ,
1313 package_data = {
You can’t perform that action at this time.
0 commit comments