summaryrefslogtreecommitdiff
path: root/security/py-yara-editor/files/patch-bin__yara-editor
blob: aadf8a32645a0eac2311da620f86a1c19fa0497d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./bin/yara-editor.orig	2012-11-22 21:47:37.000000000 +0000
+++ ./bin/yara-editor	2013-07-30 23:07:31.000000000 +0000
@@ -75,7 +75,9 @@
             config_file.close()
         except IOError as e:
             make_config_file(config_path)
-
+            config_file = open(config_path, 'r')
+            config.readfp(config_file)
+            config_file.close()
 
 
         translator = QtCore.QTranslator()