ControlPanel Update2

I'll need few days to test it on windows. I don't have a windows machine ready yet.

Connection and path has been changed as you requested.
If this is the case, we may not need the if at all.
If Tkinter is not imported successfully, `class
ControlPanel(Tkinter.Toplevel)` cannot be created so the result will be the
same with or without `try`.

On Tue, Nov 18, 2014 at 8:57 PM, awkasem <notifications@github.com> wrote:

> In src/com/dtmilano/android/controlpanel.py:
>
> >
> > +try:
> > +    import Tkinter
> > +    import tkFileDialog
> > +    TKINTER_AVAILABLE = True
> > +except:
> > +    TKINTER_AVAILABLE = False
> > +
> > +from com.dtmilano.android.viewclient import ViewClient, View
> >  from com.dtmilano.android.culebron import Operation, Unit, Color
> >
> >
> >  class ControlPanel(Tkinter.Toplevel):
>
> Just tested it on a new machine (windows 7). When running culebra I get
> the PIL exception with a note to install it on Linux & Mac and the
> culebron.py file with the line number but nothing for controlpanel. After
> installing the PIL package everything seem to work just fine
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/dtmilano/AndroidViewClient/pull/113/files#r20553708>.
>



-- 
Have you read my blog ?
http://dtmilano.blogspot.com
android junit tests ui linux cult thin clients