moved a print statement

master
BodgeMaster 2020-04-08 03:37:17 +02:00
parent ffd284e7dc
commit 3ae5e5796e
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/python2
print """
Variable Grabbler - version 4.0_pre1
Variable Grabbler - version 4.0_pre2
------------------------------------"""
################################################################
# Changes in this version:
@ -71,7 +71,6 @@ for variable in config_values:
print "was not found in the file. Skipping command execution."
else:
replacement = str(config_values[variable])
print repr(replacement)
# look for variable sections that contain question marks
argument_positions = []
i = 0
@ -79,6 +78,7 @@ for variable in config_values:
if replacement[i] == '?' and (i==0 or not replacement[i-1]=='\\'):
argument_positions = argument_positions + [ i ]
i = i+1
print repr(replacement)
print "DEBUG: " + str(argument_positions)
replacement = replacement.replace("\\?", "?")
file_out = open(sys.argv[1], "w")