Skip to content

Commit 06a2eae

Browse files
drew-512sbinet
andauthored
Update modules/runtime.go
Co-authored-by: Sebastien Binet <binet@cern.ch>
1 parent 319edb7 commit 06a2eae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/runtime.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func (ctx *ctx) ResolveAndCompile(pathname string, opts py.CompileOpts) (py.Comp
133133
return false, err
134134
}
135135
out.SrcPathname = fpath
136-
} else if ext == ".pyc" {
136+
case ".pyc":
137137
var file *os.File
138138
file, err = os.Open(fpath)
139139
if err != nil {

0 commit comments

Comments
 (0)