Skip to content

Commit

Permalink
Remove extraneous line in with_sched_ahead_time function
Browse files Browse the repository at this point in the history
  • Loading branch information
rbnpi authored Jul 17, 2017
1 parent 687b4c4 commit 767e274
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/server/sonicpi/lib/sonicpi/lang/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3842,7 +3842,6 @@ def with_real_time(&blk)
def with_sched_ahead_time t, &blk
raise ArgumentError, "with_sched_ahead_time must be called with a do/end block. Perhaps you meant use_sched_ahead_time" unless blk
current_sat = __system_thread_locals.get(:sonic_pi_spider_sched_ahead_time)
use_osc(host, port)
res = blk.call
__system_thread_locals.set(:sonic_pi_spider_sched_ahead_time, t)
res
Expand Down

0 comments on commit 767e274

Please sign in to comment.