diff --git a/library/network/uri b/library/network/uri index b8b9b04ab9c..55fd34d0d00 100644 --- a/library/network/uri +++ b/library/network/uri @@ -406,7 +406,6 @@ def main(): # Write the file out if requested if dest is not None: if resp['status'] == 304: - status_code = 304 changed = False else: write_file(module, url, dest, content)