Commit b123b878 authored by sbiego's avatar sbiego

removed math lib dependence

parent 6a78dc6a
#!/usr/bin/python
import sys, math, re
import sys, re #, math
# import getpass #useful for unit systemd
version = "0.5b"
......@@ -15,7 +15,7 @@ argvs = len(sys.argv)
act_info = ''
verbose = 0
changed = 0
shift_percent = math.ceil(max_brightness/100)
shift_percent = int(max_brightness/100)
percentize = 100/max_brightness
new_brightness = actual_brightness
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment