Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
mason-today-web
Commits
3ed2d943
Commit
3ed2d943
authored
Feb 19, 2018
by
Aaron R Poulter-martinez
Browse files
k actually fixed it this time
parent
55430601
Changes
1
Hide whitespace changes
Inline
Side-by-side
mason-today/parscript.py
View file @
3ed2d943
...
...
@@ -19,7 +19,7 @@ def load_data():
"Saturday"
:
6
,
}
notProvide
=
"Not
p
rovided"
notProvide
=
"Not
P
rovided"
counter
=
0
def
cleanup
(
str
):
#this function cleans up some of the useless html leftovers to characters we can actually use
...
...
@@ -135,7 +135,6 @@ def load_data():
#See (B)
if
len
(
entry_detailes
)
==
1
:
location
=
notProvide
entry
.
location
=
"no location"
date
=
entry_detailes
[
0
]
description
=
notProvide
#see (C)
...
...
@@ -182,8 +181,9 @@ def load_data():
uniqueid
=
uniqueid
[
-
9
:]
location
=
location
[:
-
1
]
location
+=
", "
if
location
!=
notProvide
:
location
=
location
[:
-
1
]
location
+=
", "
if
"Fairfax Campus"
in
location
:
location
=
location
.
split
(
", Fairfax Campus, "
)
campus
=
"Fairfax"
...
...
@@ -242,3 +242,4 @@ def load_data():
#everything in the house is fuzzy, stupid dogs were acting like pollinators, if that's how you even spell it
print
load_data
()
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment