Skip to content

Commit

Permalink
File index fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soachishti committed Sep 28, 2017
1 parent c14fb04 commit df17f87
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions mosspy/moss.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def send(self):
index = 1
for file in self.files:
self.uploadFile(s, file, index)
index += 1

s.send("query 0 {}\n".format(self.options['c']).encode())

Expand Down
23 changes: 21 additions & 2 deletions submission/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,33 @@
</HEAD>
<BODY>
Moss Results<p>
Tue Sep 12 17:00:15 PDT 2017
Thu Sep 28 06:26:54 PDT 2017
<p>
Options -l python -m 10
<HR>
[ <A HREF="http://moss.stanford.edu/general/format.html" TARGET="_top"> How to Read the Results</A> | <A HREF="http://moss.stanford.edu/general/tips.html" TARGET="_top"> Tips</A> | <A HREF="http://moss.stanford.edu/general/faq.html"> FAQ</A> | <A HREF="mailto:moss-request@cs.stanford.edu">Contact</A> | <A HREF="http://moss.stanford.edu/general/scripts.html">Submission Scripts</A> | <A HREF="http://moss.stanford.edu/general/credits.html" TARGET="_top"> Credits</A> ]
<HR>
<TABLE>
<TR><TH>File 1<TH>File 2<TH>Lines Matched
<TR><TD><A HREF="http://moss.stanford.edu/results/500988804/match0.html">a01-sample.py (93%)</A>
<TD><A HREF="http://moss.stanford.edu/results/500988804/match0.html">a01-sample.py (93%)</A>
<TD ALIGN=right>8
<TR><TD><A HREF="http://moss.stanford.edu/results/500988804/match1.html">a01-sample.py (93%)</A>
<TD><A HREF="http://moss.stanford.edu/results/500988804/match1.html">a01-p146099.py (93%)</A>
<TD ALIGN=right>8
<TR><TD><A HREF="http://moss.stanford.edu/results/500988804/match2.html">a01-sample.py (93%)</A>
<TD><A HREF="http://moss.stanford.edu/results/500988804/match2.html">a01-p146011.py (93%)</A>
<TD ALIGN=right>11
<TR><TD><A HREF="http://moss.stanford.edu/results/500988804/match3.html">a01-p146099.py (93%)</A>
<TD><A HREF="http://moss.stanford.edu/results/500988804/match3.html">a01-sample.py (93%)</A>
<TD ALIGN=right>8
<TR><TD><A HREF="http://moss.stanford.edu/results/500988804/match4.html">a01-p146011.py (93%)</A>
<TD><A HREF="http://moss.stanford.edu/results/500988804/match4.html">a01-sample.py (93%)</A>
<TD ALIGN=right>11
<TR><TD><A HREF="http://moss.stanford.edu/results/500988804/match5.html">a01-p146011.py (93%)</A>
<TD><A HREF="http://moss.stanford.edu/results/500988804/match5.html">a01-p146099.py (93%)</A>
<TD ALIGN=right>11
</TABLE>
No matches were found in your submission.<p></BODY>
<HR>
Any errors encountered during this query are listed below.<p></BODY>
</HTML>

0 comments on commit df17f87

Please sign in to comment.