Skip to content

Commit

Permalink
added pre ale dic to ale file check
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslaux committed Nov 15, 2018
1 parent b9436f4 commit f3d45f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/ios/ALPluginScanViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ - (void)viewDidLoad {
if (customCmdFile) {
NSString *fileName = [self.anylineConfig valueForKeyPath:@"viewPlugin.plugin.ocrPlugin.customCmdFile"];
if (fileName) {
NSString *cmdFileDirectoryPath = [fileName stringByDeletingLastPathComponent];
NSString *cmdFileDirectoryPath = [NSString stringWithFormat:@"%@/%@",@"ale", [fileName stringByDeletingLastPathComponent]];
NSString *pathResource = [[fileName lastPathComponent] stringByDeletingPathExtension];
NSString *filePath = [[NSBundle mainBundle] pathForResource:pathResource ofType:@"ale" inDirectory:cmdFileDirectoryPath];

Expand Down

0 comments on commit f3d45f8

Please sign in to comment.