Commit 99196024 by Piffey Parlance

Fixed bug where if destination was unspecified, changed would not be set,…

Fixed bug where if destination was unspecified, changed would not be set, resulting in an UnboundLocalError.
parent c15d52cc
......@@ -394,6 +394,8 @@ def main():
file_args['path'] = dest
changed = module.set_file_attributes_if_different(file_args, changed)
resp['path'] = dest
else:
changed = False
# Transmogrify the headers, replacing '-' with '_', since variables dont work with dashes.
uresp = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment