Fix T64434: error with save system info after recent changes

Differential Revision: https://developer.blender.org/D4839
This commit is contained in:
George Vogiatzis
2019-05-10 17:15:05 +02:00
committed by Brecht Van Lommel
parent 7a3833ed23
commit 1813b26bbc

View File

@@ -1404,7 +1404,7 @@ class WM_OT_sysinfo(Operator):
sys_info.write_sysinfo(self.filepath)
return {'FINISHED'}
def invoke(self, _context, _event):
def invoke(self, context, _event):
import os
if not self.filepath: