diff --git a/smuggler.py b/smuggler.py index ddff87a..f34f05b 100755 --- a/smuggler.py +++ b/smuggler.py @@ -130,7 +130,7 @@ def run(self): if not self._get_cookies(): return - if (self._configfile[1] != '/'): + if not os.path.exists(self._configfile): self._configfile = os.path.dirname(os.path.realpath(__file__)) + "/configs/" + self._configfile try: