Finished quiz and debugging
This commit is contained in:
		@@ -23,7 +23,7 @@ def _fetch_questions():
 | 
			
		||||
    if time_limit:
 | 
			
		||||
        _time_limit = int(time_limit)
 | 
			
		||||
        if user_code:
 | 
			
		||||
            time_adjustment = test.time_adjustments[user_code]
 | 
			
		||||
            time_adjustment = test.adjustments[user_code]
 | 
			
		||||
            _time_limit += time_adjustment
 | 
			
		||||
        end_delta = timedelta(minutes=_time_limit)
 | 
			
		||||
        end_time = datetime.utcnow() + end_delta
 | 
			
		||||
@@ -40,7 +40,7 @@ def _fetch_questions():
 | 
			
		||||
    return jsonify({
 | 
			
		||||
        'time_limit': end_time,
 | 
			
		||||
        'questions': questions,
 | 
			
		||||
        'start_time': entry['start_time'],
 | 
			
		||||
        'start_time': entry.start_time,
 | 
			
		||||
        'time_adjustment': time_adjustment
 | 
			
		||||
    }), 200
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user