Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
teachermate-web-seller
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
teachermate-web-seller
Commits
d1909c80
There was a problem fetching the pipeline stages.
Verified
Commit
d1909c80
authored
6 years ago
by
Recolic Keghart
Browse files
Options
Downloads
Patches
Plain Diff
BUG FIX: syntax
parent
9e54fd6b
No related branches found
No related tags found
No related merge requests found
Pipeline
#180
passed with stage
in 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
daemon.py
+1
-1
1 addition, 1 deletion
daemon.py
with
1 addition
and
1 deletion
daemon.py
+
1
−
1
View file @
d1909c80
...
@@ -27,7 +27,7 @@ def teachermate_daemon():
...
@@ -27,7 +27,7 @@ def teachermate_daemon():
# subprocess.call is outdated. Now I'm using everything in docker so I won't support python<3.5 anymore
# subprocess.call is outdated. Now I'm using everything in docker so I won't support python<3.5 anymore
# ret = subprocess.call(['./signin-once.fish', prof.openid, prof.N, prof.E, prof.cookiefl])
# ret = subprocess.call(['./signin-once.fish', prof.openid, prof.N, prof.E, prof.cookiefl])
completed
=
subprocess
.
run
([
'
./signin-once.fish
'
,
prof
.
openid
,
prof
.
N
,
prof
.
E
,
prof
.
cookiefl
],
stdout
=
subprocess
.
PIPE
)
completed
=
subprocess
.
run
([
'
./signin-once.fish
'
,
prof
.
openid
,
prof
.
N
,
prof
.
E
,
prof
.
cookiefl
],
stdout
=
subprocess
.
PIPE
)
ret
=
completed
.
return
_
code
ret
=
completed
.
returncode
if
ret
==
0
:
if
ret
==
0
:
stdout
=
completed
.
stdout
.
decode
(
'
utf-8
'
).
strip
()
stdout
=
completed
.
stdout
.
decode
(
'
utf-8
'
).
strip
()
def
findStudentRankFromStdout
(
s
):
def
findStudentRankFromStdout
(
s
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment