fix sqlalchemy bug
[rainbowstream.git] / rainbowstream / interactive.py
index 98b9c21bc8ea08270b9ad8f6db1c675bc1114576..afbbc0549a6712acc0d9433660e020a3ad1b5d30 100644 (file)
@@ -68,15 +68,15 @@ def read_history():
     """
     Read history file
     """
-    if os.path.isfile(HISTORY_FILENAME):
-        readline.read_history_file(HISTORY_FILENAME)
+    if os.path.isfile(c['HISTORY_FILENAME']):
+        readline.read_history_file(c['HISTORY_FILENAME'])
 
 
 def save_history():
     """
     Save history to file
     """
-    readline.write_history_file(HISTORY_FILENAME)
+    readline.write_history_file(c['HISTORY_FILENAME'])
 
 
 def init_interactive_shell(d):