Skip to content

Commit 2d39403

Browse files
committed
SD image requests - adding logging for testing 1
1 parent 3e0ac44 commit 2d39403

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/sage/epg/sd/SDUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,8 @@ public static String fromSageTVtoProgram(String program)
496496
if (Sage.DBG) System.out.println("SDUtils.fromSageTVtoProgram: EP program converted to = '" + program + "'");
497497
return program;
498498
}else{ //add zerors to the start AFTER the 2 char type
499-
String programType = s.substring(0, 2);
500-
String programNumber = s.substring(2);
499+
String programType = program.substring(0, 2);
500+
String programNumber = program.substring(2);
501501
program = programType + String.format("%-12s", programNumber).replace(' ', '0');
502502
if (Sage.DBG) System.out.println("SDUtils.fromSageTVtoProgram: program = '" + program + "'");
503503
return program;

0 commit comments

Comments
 (0)