Skip to content

Commit

Permalink
fixes issue with neko session file
Browse files Browse the repository at this point in the history
  • Loading branch information
fponticelli committed Nov 10, 2011
1 parent 0a49d45 commit db199e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/neko/ufront/web/NekoSession.hx
Expand Up @@ -164,7 +164,7 @@ class NekoSession
}

var file : String;
var fileData : String;
var fileData : Bytes;

if( id!=null )
{
Expand All @@ -175,7 +175,7 @@ class NekoSession
id = null;
else
{
fileData = try neko.io.File.getContent(file) catch ( e:Dynamic ) null;
fileData = try neko.io.File.getBytes(file) catch ( e:Dynamic ) null;
if( fileData == null )
{
id = null;
Expand Down

0 comments on commit db199e2

Please sign in to comment.