From a9ef098d3291860f48ce27e075b6957c1121f039 Mon Sep 17 00:00:00 2001
From: SecurityWaffle <SecurityWaffle@users.noreply.github.com>
Date: Sun, 6 Oct 2019 13:32:17 -0500
Subject: [PATCH] Fixed bug with defaults.yml path

---
 bin/pwnagotchi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/pwnagotchi b/bin/pwnagotchi
index 4733105..9b0b561 100755
--- a/bin/pwnagotchi
+++ b/bin/pwnagotchi
@@ -16,7 +16,7 @@ if __name__ == '__main__':
     parser = argparse.ArgumentParser()
 
     parser.add_argument('-C', '--config', action='store', dest='config',
-                        default=os.path.join(os.path.abspath(os.path.dirname(pwnagotchi.__file__)), '/defaults.yml'),
+                        default=os.path.join(os.path.abspath(os.path.dirname(pwnagotchi.__file__)), 'defaults.yml'),
                         help='Main configuration file.')
     parser.add_argument('-U', '--user-config', action='store', dest='user_config', default='/etc/pwnagotchi/config.yml',
                         help='If this file exists, configuration will be merged and this will override default values.')