Commits

Marcin Kasperski  committed c205248

bugfixes (wrong imports etc). Download works again (after refactorings)

  • Participants
  • Parent commits f893cc4

Comments (0)

Files changed (1)

File src/mekk/nozbe2xmind/run.py

 
 operation, options = parse_options()
 
-from mekk.nozbe2xmind import nozbe_to_xmind, nozbe_to_csv, NozbeApi, CachingNozbeApi, NozbeKeyringConnection
+from mekk.nozbe2xmind import nozbe_to_xmind
+from mekk.nozbe import NozbeApi, CachingNozbeApi, NozbeKeyringConnection
 from mekk.nozbe2xmind.run_analysis import upload_changes, print_changes_info
 from twisted.internet import reactor, defer
 import logging
     try:
         if operation in ['download', 'upload']:
             connection = NozbeKeyringConnection(options.user, options.devel)
+            yield connection.obtain_api_key()
 
         if operation == "download":
             api = CachingNozbeApi(connection)