Falko Schindler vor 3 Jahren
Ursprung
Commit
7e0c11cc09
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 0 1
      nicegui/nicegui.py
  2. 2 1
      nicegui/timer.py

+ 0 - 1
nicegui/nicegui.py

@@ -1,5 +1,4 @@
 #!/usr/bin/env python3
-from collections import namedtuple
 from typing import Awaitable, Callable
 import asyncio
 

+ 2 - 1
nicegui/timer.py

@@ -2,12 +2,13 @@ import asyncio
 import time
 import traceback
 from typing import Awaitable, Callable, List, Union
+from collections import namedtuple
 
 from .binding import BindableProperty
 from .globals import tasks, view_stack
-from collections import namedtuple
 
 NamedCoroutine = namedtuple('NamedCoroutine', ['name', 'coro'])
+
 class Timer:
     prepared_coroutines: List[NamedCoroutine] = []