Skip to content

Commit

Permalink
fix python package load
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmelt committed Nov 10, 2023
1 parent 259155b commit a1fe178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openc3/lib/openc3/models/python_package_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def self.put(package_file_path, package_install: true, scope:)
cache_path = "#{ENV['PYTHONUSERBASE']}/cache/#{File.basename(package_file_path)}"
FileUtils.cp(package_file_path, cache_path)
if package_install
return self.install(package_file_path, scope: scope)
return self.install(cache_path, scope: scope)
end
else
message = "Package file #{package_file_path} does not exist!"
Expand Down

0 comments on commit a1fe178

Please sign in to comment.