Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

we aren't uploading the assets anymore

  • Loading branch information...
commit f2ce8e7a66ebd4d682807a6b096b4953eb8b3ea0 1 parent 477b960
@schelcj authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 create.pl
View
5 create.pl
@@ -1,7 +1,6 @@
#!/usr/bin/env perl
# FIXME - parsing the latex results is giving an undef in the array, no idea why though
-# FIXME - question 5 missing answer for D
# FIXME - question 11 still has escapes on % and $
use FindBin qw($Bin);
@@ -20,7 +19,6 @@
use Getopt::Compact;
use URI;
use Data::Dumper;
-use File::Spec;
use LWP::UserAgent;
Readonly::Scalar my $EMPTY => q{};
@@ -286,9 +284,6 @@ sub create_question {
my $question_id = get_response_id($agent->response->previous->header('location'));
if (exists $question->{resource}) {
- my $image = File::Spec->join($Bin, $test->{assets_dir}, $question->{resource} . '.jpg');
- croak "Image asset ($image) does not exist" if not -e $image;
-
my $img_rid = find_resource($name, $question->{resource});
$agent->post(
Please sign in to comment.
Something went wrong with that request. Please try again.