Skip to content

Commit ada571b

Browse files
committed
Fix login - check condition
1 parent 344b688 commit ada571b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/zoomeye_search.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def run
156156
end
157157

158158
@zoomeye_token = login(datastore['USERNAME'], datastore['PASSWORD'])
159-
unless @zoomeye_token
159+
if @zoomeye_token.blank?
160160
print_error("Unable to login api.zoomeye.org")
161161
return
162162
end

0 commit comments

Comments
 (0)