diff --git a/src/pyshark/config.py b/src/pyshark/config.py
index <HASH>..<HASH> 100644
--- a/src/pyshark/config.py
+++ b/src/pyshark/config.py
@@ -4,10 +4,19 @@ from configparser import ConfigParser
 
 import pyshark
 
-CONFIG_PATH = os.path.join(os.path.dirname(pyshark.__file__), 'config.ini')
+
+fp_config_path = os.path.join(os.getcwd(), 'config.ini')  # get config from the current directory
+pyshark_config_path = os.path.join(os.path.dirname(pyshark.__file__), 'config.ini')
 
 
 def get_config():
+    if os.path.exists(fp_config_path):
+        CONFIG_PATH = fp_config_path
+    elif os.path.exists(pyshark_config_path):
+        CONFIG_PATH = pyshark_config_path
+    else:
+        return None
+        
     config = ConfigParser()
     config.read(CONFIG_PATH)
     return config
Get `config.ini` from the current directory first.