Skip to content

Commit

Permalink
fix: config path
Browse files Browse the repository at this point in the history
  • Loading branch information
imShakil committed Jul 28, 2022
1 parent ecfe388 commit 197675a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 1 deletion.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
4 changes: 3 additions & 1 deletion bin/autopi
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@author: github@imshakil
"""

import os
import sys
import time
import random
Expand Down Expand Up @@ -47,7 +48,8 @@ running = False

# Config Parse
config = configparser.ConfigParser()
config.read('../config.ini')
config.read(os.getcwd()+'/config.ini')


mouse_movement = config.getboolean('MouseMovement', 'allow')
page_scroll = config.getboolean('PageScroll', 'allow')
Expand Down
Empty file modified config.ini
100644 → 100755
Empty file.
Empty file modified requirements.txt
100644 → 100755
Empty file.

0 comments on commit 197675a

Please sign in to comment.