mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-28 04:46:34 -04:00
Disable ConfigParser interpolation to allow for "%" to be stored in configuration files
Former-commit-id: 4ac84f3ceef3407bd9e8e2c2f2191f7ea2ee2a55 Former-commit-id: 2fb4bf9d2630520702e99fa0913a3db5e1a0d0bb
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ def sort_titles_mods(_list_1, _list_2):
|
||||
# returns a list of data read from a sshync job profile
|
||||
def get_profile(_profile_dir):
|
||||
from configparser import ConfigParser
|
||||
_profile_data = ConfigParser()
|
||||
_profile_data = ConfigParser(interpolation=None)
|
||||
if isfile(_profile_dir):
|
||||
_profile_data.read(_profile_dir)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user