Skip to content

Commit

Permalink
absolute path to config file
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborpelesz committed Feb 1, 2021
1 parent 599c120 commit ae1f180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cubenect/multitouch_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class MultitouchDriver:
def __init__(self, rotate_direction="clockwise"):
self.current_commands = None

config_file_path = './cubenect/config.json'
config_file_path = '/home/digital/cubenect/cubenect/config.json'
if not os.path.exists(config_file_path):
raise FileNotFoundError("Screen calibration config file was not found. Calibrate cubenect before using it.")

Expand Down

0 comments on commit ae1f180

Please sign in to comment.