diff options
| author | Luc Donnet | 2018-04-22 21:09:25 +0200 | 
|---|---|---|
| committer | Luc Donnet | 2018-04-22 21:18:41 +0200 | 
| commit | 8912201291976a78e77bcc38cea3843a8f95a666 (patch) | |
| tree | 2f51a5c5ce77e5faa279c647d8bd392e532a6961 | |
| parent | c93e050debe52243a927b491aa1ce7c93c8dd03b (diff) | |
| download | chouette-core-6306-translation-in-csv-exports.tar.bz2 | |
Fix api v1 netex import spec Refs #6645 @16306-translation-in-csv-exports
| -rw-r--r-- | app/models/import/netex.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/models/import/netex.rb b/app/models/import/netex.rb index 7b15859fa..eae84c1f7 100644 --- a/app/models/import/netex.rb +++ b/app/models/import/netex.rb @@ -46,7 +46,7 @@ class Import::Netex < Import::Base    def referential_metadata      metadata = ReferentialMetadata.new -    if self.file +    if self.file && self.file.path        netex_file = STIF::NetexFile.new(self.file.path)        frame = netex_file.frames.first | 
