mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
Unbreak f35f1001
.
This commit is contained in:
parent
5170848cd6
commit
f7e08ec46b
@ -751,7 +751,7 @@ class Stitcher:
|
||||
def _function_loc(self, function):
|
||||
if isinstance(function, SpecializedFunction):
|
||||
function = function.host_function
|
||||
if hasattr(function, 'artiq_embedded'):
|
||||
if hasattr(function, 'artiq_embedded') and function.artiq_embedded.function:
|
||||
function = function.artiq_embedded.function
|
||||
|
||||
filename = function.__code__.co_filename
|
||||
|
Loading…
Reference in New Issue
Block a user