Skip to content
This repository has been archived by the owner on Dec 28, 2019. It is now read-only.

Commit

Permalink
Fixed: Redefining built-in 'type'
Browse files Browse the repository at this point in the history
  • Loading branch information
Richienb committed Mar 30, 2018
1 parent 9c8181d commit 94f9001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros.py
Expand Up @@ -486,7 +486,7 @@ def squareroot(number):
# Do An Average Command
def average(numbers, averagetype='mean'):
import statistics
type = type.lower()
averagetype = averagetype.lower()
try:
statistics.mean(numbers)
except:
Expand Down

0 comments on commit 94f9001

Please sign in to comment.